Hi,
I am using Hibernate 3.0 together with JBoss 4.0.3.RC1, using my session factory as a JMX service within JBoss.
Everything works fine except the fact, that "update" statements are simply not carried out in the database.
The create and query-statements ("select") all work fine.
Here is the code between openSession and session.close():
Code:
Transaction tx=session.beginTransaction();
Code:
session.update(project);
Code:
tx.commit();
The "project" object is handed to the persisting method as a parameter.
I checked that the object has a valid id when it enters the method (so that it is not considered transient), but no changes are made in the database when executing the method. I don't get any error messages, it seems as if nothing happens at all...
I hope that someone can help me with this problem!
mateun[/code]