| Package | Description |
|---|---|
| org.seasar.doma.jdbc.tx |
Provides transaction related classes.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.ThreadLocal<LocalTransactionContext> |
LocalTransaction.localTxContextHolder |
| Modifier and Type | Method and Description |
|---|---|
protected LocalTransactionContext |
KeepAliveLocalTransaction.getLocalTransactionContext() |
protected LocalTransactionContext |
LocalTransaction.getLocalTransactionContext() |
LocalTransactionContext |
LocalTransaction.suspend()
Suspends this transaction.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
KeepAliveLocalTransaction.endInternal(LocalTransactionContext context,
java.lang.String callerMethodName)
Ends the transaction, but does not close the JDBC connection.
|
protected void |
LocalTransaction.endInternal(LocalTransactionContext context,
java.lang.String callerMethodName) |
protected boolean |
KeepAliveLocalTransaction.isActiveInternal(LocalTransactionContext context) |
protected boolean |
LocalTransaction.isActiveInternal(LocalTransactionContext context) |
protected void |
LocalTransaction.release(LocalTransactionContext context,
java.lang.String callerMethodName)
Releases the transaction context.
|
void |
LocalTransaction.resume(LocalTransactionContext context)
Resumes this transaction.
|
| Constructor and Description |
|---|
KeepAliveLocalTransaction(javax.sql.DataSource dataSource,
java.lang.ThreadLocal<LocalTransactionContext> localTxContextHolder,
JdbcLogger jdbcLogger)
Creates an instance.
|
KeepAliveLocalTransaction(javax.sql.DataSource dataSource,
java.lang.ThreadLocal<LocalTransactionContext> localTxContextHolder,
JdbcLogger jdbcLogger,
TransactionIsolationLevel defaultTransactionIsolationLevel)
Creates an instance with the specified transaction isolation level.
|
LocalTransaction(javax.sql.DataSource dataSource,
java.lang.ThreadLocal<LocalTransactionContext> localTxContextHolder,
JdbcLogger jdbcLogger) |
LocalTransaction(javax.sql.DataSource dataSource,
java.lang.ThreadLocal<LocalTransactionContext> localTxContextHolder,
JdbcLogger jdbcLogger,
TransactionIsolationLevel defaultTransactionIsolationLevel) |