i am having trouble with RequiresNew attribute.
JBoss2.4.6 w/Tomcat 4
JDK 1.3.0_02 (Sun)
i have two simple stateless session ejb beans.
one bean calls the other bean.The caller bean has a method with a transaction attribute as Requires and the called bean method has the transaction attribute RequiresNew.
RequiresNew method is not getting committed the records it has inserted for an explicit EJBException been raised in Requires method.
public void hasRequires()
throw new EJBException()-- Explicit exception is raised for checking hasRequiresNew method commit-rollback.
public void hasRequiresNew()
insert into table values(....)
pl treat it as very urgent.