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

christian.bauer@jboss.com do-not-reply at jboss.com
Thu Jul 12 18:38:38 EDT 2007


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



More information about the jboss-user mailing list