public interface JdbcSessionOwner
Modifier and Type | Method and Description |
---|---|
void |
afterTransactionBegin()
A after-begin callback from the coordinator to its owner.
|
void |
afterTransactionCompletion(boolean successful,
boolean delayed)
An after-completion callback to the owner.
|
void |
beforeTransactionCompletion()
A before-completion callback to the owner.
|
void |
flushBeforeTransactionCompletion() |
Integer |
getJdbcBatchSize()
Get the Session-level JDBC batch size.
|
JdbcConnectionAccess |
getJdbcConnectionAccess() |
JdbcSessionContext |
getJdbcSessionContext() |
TransactionCoordinator |
getTransactionCoordinator()
Obtain the builder for TransactionCoordinator instances
|
void |
startTransactionBoundary()
Callback indicating recognition of entering into a transactional
context whether that is explicitly via the Hibernate
Transaction API or via registration
of Hibernate's JTA Synchronization impl with a JTA Transaction |
JdbcSessionContext getJdbcSessionContext()
JdbcConnectionAccess getJdbcConnectionAccess()
TransactionCoordinator getTransactionCoordinator()
void startTransactionBoundary()
Transaction
API or via registration
of Hibernate's JTA Synchronization impl with a JTA Transactionvoid afterTransactionBegin()
void beforeTransactionCompletion()
void afterTransactionCompletion(boolean successful, boolean delayed)
successful
- Was the transaction successful?delayed
- Is this a delayed after transaction completion call (aka after a timeout)?void flushBeforeTransactionCompletion()
Integer getJdbcBatchSize()
Copyright © 2019 JBoss by Red Hat. All rights reserved.