@ejb.transaction

Scope: method

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag defines the transactional behavior for this method. Applies to methods with @ejb.create-method and @ejb.interface-method tags. If used on class level, this tag applies to all interface methods, unless overridden. To set the transaction type for message-driven beans, use the class-level tag for now. Applies to entity and session beans

Parameters

Parameter Type Applicability Description Mandatory
type text   Defines the type of transactional behavior. You must specify one of the following attributes:
  • NotSupported
  • Supports
  • Required
  • Mandatory
  • Never
The default value is
  • Supports
true
Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.facade-method
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface
@ejb.interface-method
@ejb.permission
@ejb.persistence
@ejb.persistence (method)
@ejb.pk
@ejb.pk-field
@ejb.relation
@ejb.remote-facade
@ejb.resource-env-ref
@ejb.resource-ref
@ejb.security-identity
@ejb.security-role-ref
@ejb.select
@ejb.session
@ejb.util
@ejb.value-object
@ejb.value-object-method
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.