It's not the default behavior. The default behavior is to flush a persistence 
context (translation: dirty check objects, generate and execute SQL DML) when a 
transaction commits. 

If you use Hibernate as your JPA provider, you can enable FlushModeType.MANUAL 
when you begin a conversation, so that the persistence context bound to that 
conversation is only flushed when you call entityManager.flush().

Please also read the Seam documentation, I'm basically quoting verbatim.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039633#4039633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039633
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to