[jboss-dev-forums] [Design of EJB 3.0] - Re: Unnecessary read before update with merge()

markvl2 do-not-reply at jboss.com
Wed Dec 6 21:04:11 EST 2006


OK, so I can use an Hibernate extension to workaround the issue.

I see that the Hibernate doc says that merge() behaves this way (http://www.hibernate.org/hib_docs/entitymanager/reference/en/html_single/#d0e897), but where can I found the EJB3 spec stating this should be the behaviour of merge()? I can't find that being covered in the Sun doc.

It would be nice if the EJB3 spec provided a way of avoiding this inefficiency.

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

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



More information about the jboss-dev-forums mailing list