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
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.

I agree. Here's the link:
subject: Transaction atribute: Required & Support
It's not a secret anymore!