|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.db.ThreadDbSessionHolder
public class ThreadDbSessionHolder
DbSession thread storage.
| Constructor Summary | |
|---|---|
ThreadDbSessionHolder()
|
|
| Method Summary | |
|---|---|
static DbSession |
get()
Returns current thread db session. |
static DbSession |
remove()
Removes current db session from the thread and returns it. |
static void |
set(DbSession dbSession)
Sets current db session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadDbSessionHolder()
| Method Detail |
|---|
public static DbSession get()
public static void set(DbSession dbSession)
public static DbSession remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||