[jboss-user] [JBoss Seam] - Re: Conversations
do-not-reply at jboss.com
Wed Jan 24 14:22:18 EST 2007
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
More information about the jboss-user