|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.db.jtx.DbJtxSessionProvider
public class DbJtxSessionProvider
Returns session from the db transaction manager,
like DbJtxTransactionManager.
| Field Summary | |
|---|---|
protected jodd.jtx.JtxTransactionManager |
jtxTxManager
|
| Constructor Summary | |
|---|---|
DbJtxSessionProvider(jodd.jtx.JtxTransactionManager txManager)
Creates new JTX session provider. |
|
| Method Summary | |
|---|---|
DbSession |
getDbSession()
Returns session from JTX transaction manager and started transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final jodd.jtx.JtxTransactionManager jtxTxManager
| Constructor Detail |
|---|
public DbJtxSessionProvider(jodd.jtx.JtxTransactionManager txManager)
| Method Detail |
|---|
public DbSession getDbSession()
getDbSession in interface DbSessionProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||