All Packages Class Hierarchy This Package Previous Next Index
Class javax.ejb.deployment.TransactionIsolation
java.lang.Object
|
+----javax.ejb.deployment.TransactionIsolation
- public class TransactionIsolation
- extends Object
The TransactionIsolation class defines the value of the enterprise bean's
transaction isolation levels.
TransactionIsolation is used only for entity beans with container-managed
persistence.
-
NONE
- Transactions are not supported.
-
READ_COMMITTED
- Use shared locks, and honor exclusive locks held by other transactions.
-
READ_UNCOMMITTED
- Do not issue shared locks, and do not honor exclusive locks held by
other transactions.
-
REPEATABLE_READ
- Indicates the dirty reads, nonrepeatable reads, and phantom values cannot
occur.
-
SERIALIZABLE
-
-
TransactionIsolation()
-
NONE
public static final int NONE
- Transactions are not supported.
READ_UNCOMMITTED
public static final int READ_UNCOMMITTED
- Do not issue shared locks, and do not honor exclusive locks held by
other transactions. The transaction executing at the READ_UNCOMMITTED
level may experience "dirty reads".
READ_COMMITTED
public static final int READ_COMMITTED
- Use shared locks, and honor exclusive locks held by other transactions.
"Dirty reads" cannot happen at this level.
REPEATABLE_READ
public static final int REPEATABLE_READ
- Indicates the dirty reads, nonrepeatable reads, and phantom values cannot
occur.
SERIALIZABLE
public static final int SERIALIZABLE
TransactionIsolation
public TransactionIsolation()
All Packages Class Hierarchy This Package Previous Next Index