public class ThreadDbSessionProvider extends java.lang.Object implements DbSessionProvider
DbSession
assigned to current thread.DbThreadSession
,
ThreadDbSessionHolder
Constructor and Description |
---|
ThreadDbSessionProvider() |
Modifier and Type | Method and Description |
---|---|
DbSession |
getDbSession()
Returns
DbSession . |
public DbSession getDbSession()
DbSession
. May throws an exception
if session can not be provided.getDbSession
in interface DbSessionProvider
Copyright © 2003-present Jodd Team