|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.wicket.OrmSessionProvider
public class OrmSessionProvider
ORM Session Provider
| Constructor Summary | |
|---|---|
OrmSessionProvider()
|
|
| Method Summary | |
|---|---|
boolean |
closeSession()
Close the session (if any) and release the session for a garbage collector. |
static OrmHandler |
getOrmHandler()
Create current ORM Handler |
Session |
getSession()
Create and cache the ORM Session, where created session must be closed later |
boolean |
isOpenSesson()
Is the session open? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrmSessionProvider()
| Method Detail |
|---|
public static OrmHandler getOrmHandler()
throws IllegalStateException
IllegalStateException
public Session getSession()
throws IllegalStateException
IllegalStateExceptionpublic boolean closeSession()
public boolean isOpenSesson()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||