[jboss-user] [JBoss Seam] - Re: SFSB extended persistence context with manual flush mode

2008-02-08 Thread msystems
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 :

[jboss-user] [JBoss Seam] - Re: SFSB extended persistence context with manual flush mode

2008-02-08 Thread msystems
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 :

[jboss-user] [JBoss Seam] - Re: SFSB extended persistence context with manual flush mode

2008-02-08 Thread gjeudy
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 :

[jboss-user] [JBoss Seam] - Re: SFSB extended persistence context with manual flush mode

2008-02-08 Thread gjeudy
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