Hibernate Fake?

nocturne

Bekanntes Mitglied
Hallo,

ich speichere eine neue Bean "Mandant".
Die Datenbank ändert sich jedoch nicht!!!




--- Umgebung:
Ich arbeite mit Hibernate: 3.3.0.SP1
Hibernate Annotations: 3.4.0.CR1
Hibernate Validation: 3.1.0.GA




--- Hier der Code:

Java:
public void doInsert(ActionEvent event) throws DAOException {
		try {
			Transaction transaction = s.beginTransaction();
			s.save(selected);
			transaction.commit();

			for (FacesMessage message : insertSuccessfully) {
				report(event, message);
			}

			navigate(onSuccess);

		} catch (Exception e) {
			throw new DAOException(this, e, c, event);
		}
	};

Hier die JBoss 4.2.6 ausgabe:
19:58:50,910 INFO [STDOUT] Hibernate: insert into mandant (label, contact, mandantid) values (?, ?, ?)

Jemand eine Idee?
 

Zurück
Oben