File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Transaction atribute: Required & Support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction atribute: Required & Support " Watch "Transaction atribute: Required & Support " New topic

Transaction atribute: Required & Support

liang sun
Ranch Hand

Joined: May 12, 2001
Posts: 51
1.A session bean(bean1)'s method, with Required Attibute of Transaction
2. it call a entity bean's setXX("")(ex:setAccount("")) bea1.remove(),then happens the error,as if is not successful in Step 2.
4.when i switch the Required attribute to Support in Step 1, and it Did!
Thanks a lot.
Victor Htet
Ranch Hand

Joined: Apr 09, 2000
Posts: 70
In step 3, what is bea1? do you mean session bean or entity? You said an error occurred. Could you explain more detail about the nature of the error (what kind of exception, etc.)
That would help in answering your question.

It is sorta covered in the JavaRanch Style Guide.
subject: Transaction atribute: Required & Support
Similar Threads
Qns about Finder in EJB2.0
EJB Transactions issue
Usage of XA DataSource while working with single resource.
EJB transaction issue