Thanks for the swift response!
A helper class from the Servlet makes this call:
dialogixEntitiesFacade.merge(instrumentSession);
The instrumentSession is a top level entity class with Cascade ALL.
The dialogixEntitiesFacade is a stateless session bean:
public void merge(InstrumentSession instrumentSession) {
em.merge(instrumentSession);
}
So, performing a find before merge will work?
Will - InstrumentSession merged = em.merge(unmerged); - have the same effect?
Also, gathered that the find and merge needs to occur within the same transaction.
thanks
George
[Message sent by forum member 'bluesturbo' (bluesturbo)]
http://forums.java.net/jive/thread.jspa?messageID=252818