Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction atribute: Required & Support

 
liang sun
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.A session bean(bean1)'s method, with Required Attibute of Transaction
2. it call a entity bean's setXX("")(ex:setAccount(""))
3.call 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!
why?
Thanks a lot.
 
Victor Htet
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic