public class DbJtxSessionProvider extends java.lang.Object implements DbSessionProvider
transaction manager
,
like DbJtxTransactionManager
.Modifier and Type | Field and Description |
---|---|
protected JtxTransactionManager |
jtxTxManager |
Constructor and Description |
---|
DbJtxSessionProvider(JtxTransactionManager txManager)
Creates new JTX session provider.
|
Modifier and Type | Method and Description |
---|---|
DbSession |
getDbSession()
Returns session from JTX transaction manager and started transaction.
|
protected final JtxTransactionManager jtxTxManager
public DbJtxSessionProvider(JtxTransactionManager txManager)
public DbSession getDbSession()
getDbSession
in interface DbSessionProvider
Copyright © 2003-present Jodd Team