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.


Variable Index

 o NONE
Transactions are not supported.
 o READ_COMMITTED
The container tools must generate database access calls with an isolation degree that is equivalent to the JDBC TRANSACTION_READ_COMMITTED level.
 o READ_UNCOMMITTED
The container tools must generate database access calls with an isolation degree that is equivalent to the JDBC TRANSACTION_READ_UNCOMMITTED level.
 o REPEATABLE_READ
The container tools must generate database access calls with an isolation degree that is equivalent to the JDBC TRANSACTION_REPEATABLE_READ level.
 o SERIALIZABLE
The container tools must generate database access calls with an isolation degree that is equivalent to the JDBC TRANSACTION_SERIALIZABLE level.

Constructor Index

 o IsolationLevel()

Variables

 o NONE
 public static final int NONE
Transactions are not supported. This is an illegal value for a an entity with container-managed persistence.

 o 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.

 o 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.

 o 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.

 o 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.

Constructors

 o IsolationLevel
 public IsolationLevel()

All Packages  Class Hierarchy  This Package  Previous  Next  Index