yanj@us.ibm.com wrote:
Wow. What J2EE container are you using and how do you configure? We use Websphere Application Server and other technologies are
WebSphere 6.1, WebSphere Portal 6.0, Hibernate 3.0, Oracle 10g, JDK 1.4.1.
How do you demarcate your transaction? using CMT (container managed transaction) or userTransaction?
Thanks for your help.
I used JBoss 4.0.5 and I used Spring with a JTA transaction manager so spring does the demarcation for me but that's not much of magic here. I do believe your second call is within another transaction but you should be able to test this by verifying EJB transaction settings. I also suggest you wire hibernate and the container's transaction manager, even though I am not aware if this has any impact on rollback since it should be kinda handled in jdbc level, but you might want to give it a try. What is the call sequence?
Farzad-