[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - FlushMode.AUTO
lightbulb432
do-not-reply at jboss.com
Tue Oct 10 23:23:09 EDT 2006
FlushMode.AUTO flushes changes (creates, updates, deletes) to the database upon a query being applied or an explicit flush or a commit of the transaction, correct?
What counts as a query being applied? Is it just an EJB-QL query or would an EntityManager.find(anEntity) count as well?
What other things count as queries apart from the 1 (or 2) things above?
Also, do queries flush changes only for those changes to the object instances mentioned in the query itself, or does it flush all unflushed changes for that EntityManager?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977410#3977410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977410
More information about the jboss-user
mailing list