• Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA - Scope extended and transaction

 
satish bodas
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While I understand that the Persistence scope can be either "extended" or "transaction" and "extended" is only allowed in Stateful session beans ::

1 >Is it possible to define this in the Stateful bean ?

2 >Is this an annotation ?

3 >Can I set the scope for a stateful bean to "transaction " ?

Thanks ,
~satish
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!