• Post Reply Bookmark Topic Watch Topic
  • New Topic

Default Transaction Attribute in case of a EJB 2 and Weblogic 11  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Please let me know what is the default Transaction Attribute that is set for a Method.

While going through net i found this :

There is no default transaction attribute for an EJB , as per Section 11.5 of EJB v1.1.

But i also heard that

1 .In weblogic, the default transaction attribute for EJB is SUPPORTS.
2. Weblogic 6.1 has Required by default

Please tell me what is correct ??

Thanks in advance .

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the Weblogic 6.1 documentation say? Any reason you don't just define the attribute you need to avoid any confusion?

Later versions of the specification do state there is a default transaction attribute (of REQUIRED). Can't remember what EJB 1.1 says (if it says anything).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!