Factor Three wrote:
Greetings:
Hibernate is supposed to actually do the save to the database once the session object's flush() method is called. This, unfortunately, does not appear to be happening.
What is actually happening is that the saveOrUpdate(), flush(), and close() methods are executing without generating any messages or exceptions, but nothing is being saved to the database! I run my test application and everything works without apparent problems, but my database apparently remains untouched.
....
It's depends: if you are using CMT i.e Container-Managed-Transaction and you code is running in some session bean you are not supposed to see any Hibernate logs after flushing the session or closing it. U should see H messages after the function has been terminated "by" the container.
If U are not using container-managed: i don't know. Sorry.