Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: flushMode= MANUAL,
 when does commit happen? And other qu

scott.stark@jboss.org

2007-07-12


This is very suspicious code, it should not work and this should be correct:


| entityManager.remove( entityManager.merge(this.recipe) );
|

Merge does not reattach the given instance, it returns an "attached" managed instance. Which is the right state for removing.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063747
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.