public class HibernateReattachingDataContext extends BuggyHibernateBaseContext
LOG, m_session, m_sessionMaker| Constructor and Description |
|---|
HibernateReattachingDataContext(to.etc.webapp.query.QDataContextFactory src,
HibernateSessionMaker sessionMaker) |
| Modifier and Type | Method and Description |
|---|---|
void |
conversationDestroyed(ConversationContext cc) |
void |
conversationDetached(ConversationContext cc) |
org.hibernate.Session |
getSession()
Overridden to allow for automagic re-attachment of crap.
|
addCommitAction, checkValid, close, commit, conversationAttached, conversationNew, find, getBeforeCache, getConnection, getInstance, inTransaction, isIgnoreClose, isKeepOriginals, original, rollback, runCommitHandlers, setConversationInvalid, setIgnoreClose, setKeepOriginals, setSessionMaker, startTransactionaddListener, attach, delete, find, get, getFactory, getHandlerFactory, getInstance, query, query, query, queryOne, queryOne, queryOne, refresh, savepublic HibernateReattachingDataContext(to.etc.webapp.query.QDataContextFactory src,
HibernateSessionMaker sessionMaker)
public org.hibernate.Session getSession()
throws Exception
getSession in class BuggyHibernateBaseContextExceptionBuggyHibernateBaseContext.getSession()public void conversationDestroyed(ConversationContext cc) throws Exception
BuggyHibernateBaseContextconversationDestroyed in interface IConversationStateListenerconversationDestroyed in class BuggyHibernateBaseContextExceptionIConversationStateListener.conversationDestroyed(to.etc.domui.state.ConversationContext)public void conversationDetached(ConversationContext cc) throws Exception
BuggyHibernateBaseContextconversationDetached in interface IConversationStateListenerconversationDetached in class BuggyHibernateBaseContextExceptionIConversationStateListener.conversationDetached(to.etc.domui.state.ConversationContext)Copyright © 2017 etc.to. All rights reserved.