Hibernate Team |
![Hibernate Team Hibernate Team](./images/ranks/team.gif) |
Joined: Tue Aug 26, 2003 3:00 pm Posts: 1816 Location: Austin, TX
|
But what david was pointing out that it is more a question of whether your ejb is under CMT control. In other words, are you specifying "Container" as the transaction attribute in the ejb deployment descriptor? If so, as per ejb specs, it is not legal to manually attempt to "tinker" with the JTA transaction started by the container or any of the connections under the control of the container (which is exactly what the transaction.commit() in your code is doing).
|
|