@Requires(classes=org.springframework.transaction.PlatformTransactionManager.class) @EachBean(value=org.springframework.transaction.PlatformTransactionManager.class) public class SpringTransactionHandler extends AbstractTransactionHandler
didTxnRollback
Constructor and Description |
---|
SpringTransactionHandler(org.springframework.transaction.PlatformTransactionManager transactionManager)
Adapt a
PlatformTransactionManager to Jdbi transaction provider interface. |
Modifier and Type | Method and Description |
---|---|
void |
begin(Handle handle) |
void |
commit(Handle handle) |
boolean |
isInTransaction(Handle handle) |
void |
releaseSavepoint(Handle handle,
String savepointName) |
void |
rollback(Handle handle) |
void |
rollbackToSavepoint(Handle handle,
String savepointName) |
void |
savepoint(Handle handle,
String savepointName) |
inTransaction, inTransaction
public SpringTransactionHandler(org.springframework.transaction.PlatformTransactionManager transactionManager)
PlatformTransactionManager
to Jdbi transaction provider interface.transactionManager
- The transaction manager