[jboss-user] [EJB3] - Re: EJB 2.1 BMP with CMT and RequiresNew in JBoss AS 7.1.0 Final
Daniel Zhelyazkov
do-not-reply at jboss.com
Thu Apr 5 04:17:11 EDT 2012
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&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120405/8396bd69/attachment-0001.html
More information about the jboss-user
mailing list