public class DbJtxTransaction extends JtxTransaction
JtxTransaction
extension that simplifies beginning of the transaction since
related DbJtxTransactionManager
allows only one resource type.deadline, mode, resources, rollbackCause, scope, startAsActive, status, txManager
Modifier | Constructor and Description |
---|---|
protected |
DbJtxTransaction(JtxTransactionManager txManager,
JtxTransactionMode mode,
java.lang.Object scope,
boolean active) |
Modifier and Type | Method and Description |
---|---|
DbSession |
requestResource() |
checkTimeout, commit, commitAllResources, commitOrRollback, getScope, getStatus, getTransactionManager, getTransactionMode, isActive, isCommitted, isCompleted, isNoTransaction, isRollbackOnly, isRolledback, isStartAsActive, lookupResource, requestResource, rollback, rollbackAllResources, setRollbackOnly, setRollbackOnly
protected DbJtxTransaction(JtxTransactionManager txManager, JtxTransactionMode mode, java.lang.Object scope, boolean active)
public DbSession requestResource()
Copyright © 2003-present Jodd Team