This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER 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 "Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER" Watch "Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER" New topic
Author

Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER

Anurag Blore
Ranch Hand

Joined: Jan 15, 2003
Posts: 74
All,

If in my stateless bean I have set the TransactionManagementType.CONTAINER(Container Manage Transaction) but I have not set anything in the bean or methods in the bean for


Then what will be the default value set for TransactionAttributeType, I am asking this in general and if its dependent on the application server then its jboss4.2.
I mean TransactionAttributeType is set to which value: REQUIRED,REQUIRESNEW,NOTSUPPORTED,SUPPORTS...etc.

Thanks,
Anurag
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

As per the EJB3 spec section 13.3.7:

By default, the value of the transaction attribute for a method of a bean with container-managed transaction demarcation is the REQUIRED


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER
 
Similar Threads
defaulting " SelectOne Radio"
Entity Managers - Types
jsp:useBean Doubt?
Persit method strange behaviour
jsp:getProperty action