Daniel Zhelyazkov [
https://community.jboss.org/people/dzhelyazkov] created the discussion
"Re: EJB 2.1 BMP with CMT and RequiresNew in JBoss AS 7.1.0 Final"
To view the discussion, visit:
https://community.jboss.org/message/728447#728447
--------------------------------------------------------------
Turns out I was wrong, the Entity Bean was recently changed to Requres. So what happens is
this
SLSB starts TX1
Entity creates record within TX1
record.getProperties() starts new TX2 and calls update and commit at end of TX2, and here
lock happens
the question remains why record.getProperties() spawns new TX
daniel
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/728447#728447]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]