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.


Variable Index

 o NONE
Transactions are not supported.
 o READ_COMMITTED
Use shared locks, and honor exclusive locks held by other transactions.
 o READ_UNCOMMITTED
Do not issue shared locks, and do not honor exclusive locks held by other transactions.
 o REPEATABLE_READ
Indicates the dirty reads, nonrepeatable reads, and phantom values cannot occur.
 o SERIALIZABLE

Constructor Index

 o TransactionIsolation()

Variables

 o NONE
 public static final int NONE
Transactions are not supported.

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

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

 o REPEATABLE_READ
 public static final int REPEATABLE_READ
Indicates the dirty reads, nonrepeatable reads, and phantom values cannot occur.

 o SERIALIZABLE
 public static final int SERIALIZABLE

Constructors

 o TransactionIsolation
 public TransactionIsolation()

All Packages  Class Hierarchy  This Package  Previous  Next  Index