[jboss-user] [EJB 3.0] - Re: Transaction annotation - cannot get desired behavior
waynebaylor
do-not-reply at jboss.com
Sun May 20 12:43:33 EDT 2007
Even better, try using em.merge(...) instead of em.persist(...). That way if the entity exists it will be merged and you won't get an exception.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047062#4047062
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047062
More information about the jboss-user
mailing list