|
Page Created :
OPENEJB :
Transaction Annotations
Transaction Annotations has been created by David Blevins (Sep 11, 2007). Content:The javax.ejb.TransactionAttribute annotation (@TransactionAttribute) can be applied to a bean class or it's methods. Usage of the @TransactionAttribute requires you to specify on of six different transaction attribute types defined via the javax.ejb.TransactionAttributeType enum.
Attribute Types summaryTo ensure your method is invoked in a transaction, one of tree attributes can be used; REQUIRED, REQUIRES_NEW, MANDATORY. There's a much easier way to visualize the transaction attributes.
MANDATORY REQUIREDREQUIRES_NEWSUPPORTSNOT_SUPPORTEDNEVER |
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
