Hi, I have a session bean which will call a couple of classes, and those classes will call different entity bean to do insert or update. The transaction type of session bean and entity bean is required, so i think if any of insert or update action failed, other action that already done is suppose to roll back. But my code doesn't. Could anyguru tell me the reason and solution? Thanks a Lot!
Is it an Application exception or a System exception that is being thrown? The ejb specification explicitly states that the container should not automatically rollback transactions in the event of an Application exception, this must be handled by the Bean Provider (you). If the above doesn't help then you will need to fill us in with more details, such as which Application Server you are using.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com