All Packages Class Hierarchy This Package Previous Next Index
Class javax.ejb.deployment.IsolationLevel
java.lang.Object
|
+----javax.ejb.deployment.IsolationLevel
- public class IsolationLevel
- extends Object
The IsolationLevel class defines the value of the enterprise bean's
transaction isolation levels.
The deployment descriptor of an entity bean with container-managed
persistence uses the values defined in the IsolationLevel class to
tell the container the requested isolation level for the database access
operations that will be generated by the container provider tools.
-
NONE
- Transactions are not supported.
-
READ_COMMITTED
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_READ_COMMITTED level.
-
READ_UNCOMMITTED
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_READ_UNCOMMITTED level.
-
REPEATABLE_READ
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_REPEATABLE_READ level.
-
SERIALIZABLE
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_SERIALIZABLE level.
-
IsolationLevel()
-
NONE
public static final int NONE
- Transactions are not supported. This is an illegal value for a
an entity with container-managed persistence.
READ_UNCOMMITTED
public static final int READ_UNCOMMITTED
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_READ_UNCOMMITTED level.
READ_COMMITTED
public static final int READ_COMMITTED
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_READ_COMMITTED level.
REPEATABLE_READ
public static final int REPEATABLE_READ
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_REPEATABLE_READ level.
SERIALIZABLE
public static final int SERIALIZABLE
- The container tools must generate database access calls with an
isolation degree that is equivalent to the JDBC
TRANSACTION_SERIALIZABLE level.
IsolationLevel
public IsolationLevel()
All Packages Class Hierarchy This Package Previous Next Index