|
|||||||||
| 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 transaction manager.
| Field Summary | |
|---|---|
protected JtxTransactionManager |
jtxTxManager
|
| Constructor Summary | |
|---|---|
DbJtxSessionProvider(JtxTransactionManager txManager)
|
|
| Method Summary | |
|---|---|
DbSession |
getDbSession()
Returns DbSession instance or throws an exception if session can not be provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final JtxTransactionManager jtxTxManager
| Constructor Detail |
|---|
public DbJtxSessionProvider(JtxTransactionManager txManager)
| Method Detail |
|---|
public DbSession getDbSession()
DbSession instance or throws an exception if session can not be provided.
getDbSession in interface DbSessionProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||