[jboss-user] [EJB 3.0] - Re: setter updates the DB
fhh
do-not-reply at jboss.com
Mon Apr 2 18:17:41 EDT 2007
You can use entityManager.clear() to detach all (!) entities from the entity manager. Changes to detached entities will only be written after a merge to the db.
A much cleaner soluction (IMHO) to the problem are Seam's long running transactions.
Regards
Felix
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033853#4033853
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033853
More information about the jboss-user
mailing list