This tag specifies the transaction isolation level for methods matching a given pattern.
Class tag on session and entity beans.
@ejbgen:method-isolation-level-pattern
[id="TagID"]
isolation-level="IsolationLevelType"
pattern="Pattern"
id
Optional. Specifies the ID of the tag. For more information, see EJBGen Tag Inheritance.
isolation-level
Required. Specifies the transaction isolation level for the methods matching this pattern, provided that the transaction isolation level for a method has not been explicitly set. Valid values are TransactionSerializable, TransactionReadCommitted, TransactionReadUncommitted, and TransactionRepeatableRead. If you are using an Oracle database, you can also specify TransactionReadCommittedForUpdate or TransactionReadCommittedForUpdateNoWait. For more information, see EJBs and Transactions.
pattern
Required. Specifies the method to which the specified isolation level applies. To make this applicable to all methods, use the '*' wildcard. It is not possible to use a combination of wildcard and letters.