This is basic Hibernate. The FlushMode controls when changes are sync'd to the database, and if you look at the documentation on the FlushMode class, you will see a precise definition of each mode. By default, all changes are flushed before the end of a transaction, which usually means that they are flushed in each request.
If you end a FlushMode.MANUAL conversation without explicitly flushing the persistence context then yes, of course the changes are lost. This is useful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005968#4005968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005968 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
