You appear to be using an EJB3 SFSB and a JPA extended persistence context. Only
Hibernate supports a manual flush mode. What I'd assume is happening here is that
your @Begin(flushMode=...) declaration is being ignored and that EJB3 is defaulting to
its standard transaction/flush demarcation.
Instead of using a JPA extended persistence context, try using a Seam managed persistence
context instead. Either that or use the em.getDelegate() method, perform operations on a
Hibernate Session, and manage the flushmode and flushing within your application.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037664#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...