|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.webapp.query.QAbstractDataContext
to.etc.domui.hibernate.generic.BuggyHibernateBaseContext
to.etc.domui.hibernate.generic.HibernateReattachingDataContext
public class HibernateReattachingDataContext
This is an HibernateContext which uses automatic reattachment of all nodes to prevent all kinds of crappy Hibernate-related shit.
Field Summary |
---|
Fields inherited from class to.etc.domui.hibernate.generic.BuggyHibernateBaseContext |
---|
LOG, m_session, m_sessionMaker |
Constructor Summary | |
---|---|
HibernateReattachingDataContext(QDataContextFactory src,
HibernateSessionMaker sessionMaker)
|
Method Summary | |
---|---|
void |
conversationDestroyed(ConversationContext cc)
|
void |
conversationDetached(ConversationContext cc)
|
Session |
getSession()
Overridden to allow for automagic re-attachment of crap. |
Methods inherited from class to.etc.domui.hibernate.generic.BuggyHibernateBaseContext |
---|
addCommitAction, checkValid, close, commit, conversationAttached, conversationNew, getConnection, inTransaction, isIgnoreClose, rollback, runCommitHandlers, setConversationInvalid, setIgnoreClose, setSessionMaker, startTransaction |
Methods inherited from class to.etc.webapp.query.QAbstractDataContext |
---|
attach, delete, find, find, getFactory, getHandlerFactory, getInstance, getInstance, query, query, queryOne, queryOne, refresh, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface to.etc.webapp.query.QDataContext |
---|
attach, delete, find, find, getFactory, getInstance, getInstance, query, query, queryOne, queryOne, refresh, save |
Constructor Detail |
---|
public HibernateReattachingDataContext(QDataContextFactory src, HibernateSessionMaker sessionMaker)
Method Detail |
---|
public Session getSession() throws java.lang.Exception
getSession
in class BuggyHibernateBaseContext
java.lang.Exception
BuggyHibernateBaseContext.getSession()
public void conversationDestroyed(ConversationContext cc) throws java.lang.Exception
BuggyHibernateBaseContext
conversationDestroyed
in interface IConversationStateListener
conversationDestroyed
in class BuggyHibernateBaseContext
java.lang.Exception
IConversationStateListener.conversationDestroyed(to.etc.domui.state.ConversationContext)
public void conversationDetached(ConversationContext cc) throws java.lang.Exception
BuggyHibernateBaseContext
conversationDetached
in interface IConversationStateListener
conversationDetached
in class BuggyHibernateBaseContext
java.lang.Exception
IConversationStateListener.conversationDetached(to.etc.domui.state.ConversationContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |