I am using JBoss 4.0 with MySQL. I have an operation that does the following
in a loop over a collection:
PipeLocal pipe2 = PipeUtil.getLocalHome().create(pv2);
pipe2.setPipePurchaseOrder(getPipePurchaseOrder());
If one of the operations fails in the loop I need everything to roll back. All
relevant information is rolled back and I am left with Pipe entries that are
not attached to a PipePurchaseOrder. I read that the ejbCreate method runs in
an undefined transation context. There has to be a simple solution to this
problem. Is this behavior configured in JBoss or my code?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856652#3856652
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856652
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user