[jboss-user] [EJB 3.0] - Unnecessary select with em.merge()

markvl2 do-not-reply at jboss.com
Sun Nov 26 18:55:51 EST 2006


I am evaluating ejb3 and looking at the standard case of where an entity is read from the DB in one transaction, modified, then changes saved in another transaction.

When em.merge() is called for the detached entity, EJB3 is implicitly executing a select against the DB for that entity.

Is there some way of preventing this unnecessary select?


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

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



More information about the jboss-user mailing list