Hibernate version: 3.0.5
According to the Hibernate Reference Documentation 3.0.5
When getting the session associated with the current JTA transaction:
Quote:
Both the hibernate.transaction.flush_before_completion and hibernate.transaction.auto_close_session configuration option, will be set automatically for every Session you retrieve with getCurrentSession(), so they will also be flushed and closed automatically when the container ends the JTA transactions.
But in fact, i can see that the transaction flush mode was set to AUTO and not COMMIT. why is that?
Thanks,
avigail.