|
-
May 11th, 2001, 10:59 AM
#1
EJB Transactions
Hi All,
I didn't find any actegory for EJB. That is why posting in this actegory.
I am having some clarifications about EJB transactions.
I am having a Session bean and two entity beans. I am using weblogic as the server. In my Session bean method I am interacting(creating) two entity beans. This two things I want to put it in a Single Transaction. For that In the deployement descriptor of Entity beans, I put the Transaction attribute 'supports' (<trans-attribute>Supports</trans-attribute> . In the Session bean I have put RequiresNew(<trans-attribute>RequiresNew</trans-attribute> as the attribute.
But unfortunately when I call the session bean method it is not rolling back if one bean interaction fails. Is anything else has to be specified in the bean inorder to accomplish this. Please help me. Any suggestions will be appreciated.
Sebas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|