jaikiran pai [https://community.jboss.org/people/jaikiran] 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/746793#746793 -------------------------------------------------------------- > Daniel Zhelyazkov wrote: > > Fixed my problem, after debug session of JBoss code it turned out that the > code that parses TX attributes produces wrong info. > we had the folowing in ejb-jar.xml > > <method> > <ejb-name>SomeEjb</ejb-name> > <method-name>*</method-name> > </method> > ... > <trans-attribute>RequiresNew</trans-attribute> > > Specified like that JBoss set default TX attribute Required to all LOCAL_HOME > methods (ejbCreate/Find/Select/Home) > and RequiresNew to all Bean methods such as toString(), hashCode()... > > by adding <method-intf>LocalHome</method-intf> > > <method> > <ejb-name>SomeEjb</ejb-name> > <method-intf>LocalHome</method-intf> > <method-name>*</method-name> > </method> > > all went to normal, my ejbCreate() started new transaction, and > getProperties() method did not use TX interceptor. > > So it looks like different or wrong loginc in JBoss, the code itself states > it has some problems, and it looks targeted at EJB 3.x, it is not a separate > code for 2.x > > daniel Daniel, have you been able to reproduce this against the latest nightly build https://community.jboss.org/thread/167590 https://community.jboss.org/thread/167590 or maybe 7.1.1.Final? -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/746793#746793] Start a new discussion in EJB3 at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user