public class ThreadDbSessionHolder
extends java.lang.Object
DbSession
thread storage.Constructor and Description |
---|
ThreadDbSessionHolder() |
Modifier and Type | Method and Description |
---|---|
static DbSession |
get()
Returns current thread db session.
|
static void |
remove()
Removes current db session from the thread and returns it.
|
static void |
set(DbSession dbSession)
Sets current db session.
|
Copyright © 2003-present Jodd Team