[jboss-user] [JBoss Seam] - Re: ManyToMany with EntityManager in flush mode manual

fernando_jmt do-not-reply at jboss.com
Tue May 29 09:40:00 EDT 2007


"torsty" wrote : forgot to say: when I used fluh mode manual I flushed before persisting.

Don't you think this is the cause of your problem?

You should call em.flush() explicitly after all interactions with EM are performed. I have a same scenario with User->Role (ManyToMany) relationship using SMPC with FlushModeType=MANUAL, and it is working well.

HTH.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049333



More information about the jboss-user mailing list