|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for classes that define transaction properties. Base interface for TransactionAttribute.
DefaultTransactionDefinition,
TransactionAttribute| Field Summary | |
static java.lang.String |
ISOLATION_CONSTANT_PREFIX
|
static int |
ISOLATION_DEFAULT
Default isolation level, all other according to java.sql.Connection levels. |
static int |
ISOLATION_READ_COMMITTED
|
static int |
ISOLATION_READ_UNCOMMITTED
|
static int |
ISOLATION_REPEATABLE_READ
|
static int |
ISOLATION_SERIALIZABLE
|
static java.lang.String |
PROPAGATION_CONSTANT_PREFIX
|
static int |
PROPAGATION_MANDATORY
Support a current transaction, throw an exception if none exists. |
static int |
PROPAGATION_REQUIRED
Support a current transaction, create a new one if none exists. |
static int |
PROPAGATION_SUPPORTS
Support a current transaction, execute non-transactional if none exists. |
static int |
TIMEOUT_DEFAULT
Default transaction timeout |
| Method Summary | |
int |
getIsolationLevel()
Return the isolation level. |
int |
getPropagationBehavior()
Return the propagation behavior. |
int |
getTimeout()
Return the transaction timeout. |
| Field Detail |
public static final java.lang.String PROPAGATION_CONSTANT_PREFIX
public static final java.lang.String ISOLATION_CONSTANT_PREFIX
public static final int PROPAGATION_REQUIRED
public static final int PROPAGATION_SUPPORTS
public static final int PROPAGATION_MANDATORY
public static final int ISOLATION_DEFAULT
Connectionpublic static final int ISOLATION_READ_UNCOMMITTED
public static final int ISOLATION_READ_COMMITTED
public static final int ISOLATION_REPEATABLE_READ
public static final int ISOLATION_SERIALIZABLE
public static final int TIMEOUT_DEFAULT
| Method Detail |
public int getPropagationBehavior()
PlatformTransactionManagerpublic int getIsolationLevel()
PlatformTransactionManagerpublic int getTimeout()
TIMEOUT_DEFAULT
|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||