BTW: FlushModeType.MANUAL works only when Hibernate is the underlying
persistence provider - maybe other persistence providers will support this
feature in the future (in my opinion JPA should include FlushModeType.MANUAL at
least in the next version of JPA).
View the original post :
To my knowledge you need to use a Seam-managed persistence context, i.e. @In.
JPA doesn't support FlushModeType.MANUAL, only FlushModeType.AUTO and
FlushModeType.COMMIT.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128002#4128002
Reply to the post :
Apologies,
I answered to my own question, flush mode MANUAL only works with @In seam
managed entity managers. Don't try this with JPA @PersistenceContext.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128005#4128005
Reply to the post :
I tried moving my EM operation inside the same SFSB which begun the
conversation in MANUAL flush mode. The DML is still executing at the end of the
system transaction (in the middle of the conversation)! Manual flush mode
doesn't seem to work.
I'm using seam managed transaction mixed with