|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.db.ThreadDbSessionProvider
public class ThreadDbSessionProvider
Returns DbSession assigned to current thread.
ThreadDbSessionHolder| Constructor Summary | |
|---|---|
ThreadDbSessionProvider()
|
|
| 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 |
| Constructor Detail |
|---|
public ThreadDbSessionProvider()
| 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 | ||||||||