org.jboss.seam.persistence
Class HibernateSessionInvocationHandler

java.lang.Object
  extended by org.jboss.seam.persistence.HibernateSessionInvocationHandler
All Implemented Interfaces:
Serializable, InvocationHandler, org.hibernate.engine.SessionImplementor, org.hibernate.event.EventSource, org.hibernate.Session

public class HibernateSessionInvocationHandler
extends Object
implements InvocationHandler, Serializable, org.hibernate.event.EventSource

InvocationHandler that proxies the Session, and implements EL interpolation in HQL. Needs to implement SessionImplementor because DetachedCriteria casts the Session to SessionImplementor.

Author:
Gavin King, Emmanuel Bernard, Mike Youngstrom, Marek Novotny
See Also:
Serialized Form

Constructor Summary
HibernateSessionInvocationHandler(org.hibernate.Session paramDelegate)
           
 
Method Summary
 void afterScrollOperation()
           
 void afterTransactionCompletion(boolean paramBoolean, org.hibernate.Transaction paramTransaction)
           
 void beforeTransactionCompletion(org.hibernate.Transaction paramTransaction)
           
 org.hibernate.Transaction beginTransaction()
           
 String bestGuessEntityName(Object paramObject)
           
 void cancelQuery()
           
 void clear()
           
 Connection close()
           
 Connection connection()
           
 boolean contains(Object paramObject)
           
 org.hibernate.Criteria createCriteria(Class paramClass)
           
 org.hibernate.Criteria createCriteria(Class paramClass, String paramString)
           
 org.hibernate.Criteria createCriteria(String paramString)
           
 org.hibernate.Criteria createCriteria(String paramString1, String paramString2)
           
 org.hibernate.Query createFilter(Object paramObject, String paramString)
           
 org.hibernate.Query createQuery(String paramString)
           
 org.hibernate.SQLQuery createSQLQuery(String paramString)
           
 void delete(Object paramObject)
           
 void delete(String paramString, Object paramObject)
           
 void delete(String paramString, Object paramObject, boolean paramBoolean, Set paramSet)
           
 void disableFetchProfile(String paramString)
           
 void disableFilter(String paramString)
           
 Connection disconnect()
           
 void doWork(org.hibernate.jdbc.Work paramWork)
           
 void enableFetchProfile(String paramString)
           
 org.hibernate.Filter enableFilter(String paramString)
           
 void evict(Object paramObject)
           
 int executeNativeUpdate(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 int executeUpdate(String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 void flush()
           
 void forceFlush(org.hibernate.engine.EntityEntry paramEntityEntry)
           
 Object get(Class paramClass, Serializable paramSerializable)
           
 Object get(Class paramClass, Serializable paramSerializable, org.hibernate.LockMode paramLockMode)
           
 Object get(String paramString, Serializable paramSerializable)
           
 Object get(String paramString, Serializable paramSerializable, org.hibernate.LockMode paramLockMode)
           
 org.hibernate.engine.ActionQueue getActionQueue()
           
 org.hibernate.jdbc.Batcher getBatcher()
           
 org.hibernate.CacheMode getCacheMode()
           
 Serializable getContextEntityIdentifier(Object paramObject)
           
 org.hibernate.LockMode getCurrentLockMode(Object paramObject)
           
 int getDontFlushFromFind()
           
 org.hibernate.Filter getEnabledFilter(String paramString)
           
 Map getEnabledFilters()
           
 org.hibernate.EntityMode getEntityMode()
           
 String getEntityName(Object paramObject)
           
 org.hibernate.persister.entity.EntityPersister getEntityPersister(String paramString, Object paramObject)
           
 Object getEntityUsingInterceptor(org.hibernate.engine.EntityKey paramEntityKey)
           
 org.hibernate.engine.SessionFactoryImplementor getFactory()
           
 String getFetchProfile()
           
 org.hibernate.type.Type getFilterParameterType(String paramString)
           
 Object getFilterParameterValue(String paramString)
           
 org.hibernate.FlushMode getFlushMode()
           
 Serializable getIdentifier(Object paramObject)
           
 org.hibernate.Interceptor getInterceptor()
           
 org.hibernate.jdbc.JDBCContext getJDBCContext()
           
 org.hibernate.event.EventListeners getListeners()
           
 org.hibernate.Query getNamedQuery(String paramString)
           
 org.hibernate.Query getNamedSQLQuery(String paramString)
           
 org.hibernate.engine.PersistenceContext getPersistenceContext()
           
 org.hibernate.Session getSession(org.hibernate.EntityMode paramEntityMode)
           
 org.hibernate.SessionFactory getSessionFactory()
           
 org.hibernate.stat.SessionStatistics getStatistics()
           
 long getTimestamp()
           
 org.hibernate.Transaction getTransaction()
           
 String guessEntityName(Object paramObject)
           
protected  Object handleCreateQueryWithString(Method method, Object[] args)
           
protected  Object handleReconnectNoArg(Method method)
           
 Object immediateLoad(String paramString, Serializable paramSerializable)
           
 void initializeCollection(org.hibernate.collection.PersistentCollection paramPersistentCollection, boolean paramBoolean)
           
 Object instantiate(org.hibernate.persister.entity.EntityPersister paramEntityPersister, Serializable paramSerializable)
           
 Object instantiate(String paramString, Serializable paramSerializable)
           
 Object internalLoad(String paramString, Serializable paramSerializable, boolean paramBoolean1, boolean paramBoolean2)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 boolean isClosed()
           
 boolean isConnected()
           
 boolean isDefaultReadOnly()
           
 boolean isDirty()
           
 boolean isEventSource()
           
 boolean isFetchProfileEnabled(String paramString)
           
 boolean isOpen()
           
 boolean isReadOnly(Object paramObject)
           
 boolean isTransactionInProgress()
           
 Iterator iterate(String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 Iterator iterateFilter(Object paramObject, String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 List list(org.hibernate.impl.CriteriaImpl paramCriteriaImpl)
           
 List list(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 List list(String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 List listCustomQuery(org.hibernate.loader.custom.CustomQuery paramCustomQuery, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 List listFilter(Object paramObject, String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 Object load(Class paramClass, Serializable paramSerializable)
           
 Object load(Class paramClass, Serializable paramSerializable, org.hibernate.LockMode paramLockMode)
           
 void load(Object paramObject, Serializable paramSerializable)
           
 Object load(String paramString, Serializable paramSerializable)
           
 Object load(String paramString, Serializable paramSerializable, org.hibernate.LockMode paramLockMode)
           
 void lock(Object paramObject, org.hibernate.LockMode paramLockMode)
           
 void lock(String paramString, Object paramObject, org.hibernate.LockMode paramLockMode)
           
 Object merge(Object paramObject)
           
 Object merge(String paramString, Object paramObject)
           
 void merge(String paramString, Object paramObject, Map paramMap)
           
 void persist(Object paramObject)
           
 void persist(String paramString, Object paramObject)
           
 void persist(String paramString, Object paramObject, Map paramMap)
           
 void persistOnFlush(String paramString, Object paramObject, Map paramMap)
           
 void reconnect()
           
 void reconnect(Connection paramConnection)
           
 void refresh(Object paramObject)
           
 void refresh(Object paramObject, org.hibernate.LockMode paramLockMode)
           
 void refresh(Object paramObject, Map paramMap)
           
 void replicate(Object paramObject, org.hibernate.ReplicationMode paramReplicationMode)
           
 void replicate(String paramString, Object paramObject, org.hibernate.ReplicationMode paramReplicationMode)
           
 Serializable save(Object paramObject)
           
 Serializable save(String paramString, Object paramObject)
           
 void saveOrUpdate(Object paramObject)
           
 void saveOrUpdate(String paramString, Object paramObject)
           
 void saveOrUpdateCopy(String paramString, Object paramObject, Map paramMap)
           
 org.hibernate.ScrollableResults scroll(org.hibernate.impl.CriteriaImpl paramCriteriaImpl, org.hibernate.ScrollMode paramScrollMode)
           
 org.hibernate.ScrollableResults scroll(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 org.hibernate.ScrollableResults scroll(String paramString, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 org.hibernate.ScrollableResults scrollCustomQuery(org.hibernate.loader.custom.CustomQuery paramCustomQuery, org.hibernate.engine.QueryParameters paramQueryParameters)
           
 void setAutoClear(boolean paramBoolean)
           
 void setCacheMode(org.hibernate.CacheMode paramCacheMode)
           
 void setDefaultReadOnly(boolean paramBoolean)
           
 void setFetchProfile(String paramString)
           
 void setFlushMode(org.hibernate.FlushMode paramFlushMode)
           
 void setReadOnly(Object paramObject, boolean paramBoolean)
           
 void update(Object paramObject)
           
 void update(String paramString, Object paramObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSessionInvocationHandler

public HibernateSessionInvocationHandler(org.hibernate.Session paramDelegate)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

handleCreateQueryWithString

protected Object handleCreateQueryWithString(Method method,
                                             Object[] args)
                                      throws Throwable
Throws:
Throwable

handleReconnectNoArg

protected Object handleReconnectNoArg(Method method)
                               throws Throwable
Throws:
Throwable

getInterceptor

public org.hibernate.Interceptor getInterceptor()
Specified by:
getInterceptor in interface org.hibernate.engine.SessionImplementor

setAutoClear

public void setAutoClear(boolean paramBoolean)
Specified by:
setAutoClear in interface org.hibernate.engine.SessionImplementor

isTransactionInProgress

public boolean isTransactionInProgress()
Specified by:
isTransactionInProgress in interface org.hibernate.engine.SessionImplementor

initializeCollection

public void initializeCollection(org.hibernate.collection.PersistentCollection paramPersistentCollection,
                                 boolean paramBoolean)
                          throws org.hibernate.HibernateException
Specified by:
initializeCollection in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

internalLoad

public Object internalLoad(String paramString,
                           Serializable paramSerializable,
                           boolean paramBoolean1,
                           boolean paramBoolean2)
                    throws org.hibernate.HibernateException
Specified by:
internalLoad in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

immediateLoad

public Object immediateLoad(String paramString,
                            Serializable paramSerializable)
                     throws org.hibernate.HibernateException
Specified by:
immediateLoad in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface org.hibernate.engine.SessionImplementor

getFactory

public org.hibernate.engine.SessionFactoryImplementor getFactory()
Specified by:
getFactory in interface org.hibernate.engine.SessionImplementor

getBatcher

public org.hibernate.jdbc.Batcher getBatcher()
Specified by:
getBatcher in interface org.hibernate.engine.SessionImplementor

list

public List list(String paramString,
                 org.hibernate.engine.QueryParameters paramQueryParameters)
          throws org.hibernate.HibernateException
Specified by:
list in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

iterate

public Iterator iterate(String paramString,
                        org.hibernate.engine.QueryParameters paramQueryParameters)
                 throws org.hibernate.HibernateException
Specified by:
iterate in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

scroll

public org.hibernate.ScrollableResults scroll(String paramString,
                                              org.hibernate.engine.QueryParameters paramQueryParameters)
                                       throws org.hibernate.HibernateException
Specified by:
scroll in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

scroll

public org.hibernate.ScrollableResults scroll(org.hibernate.impl.CriteriaImpl paramCriteriaImpl,
                                              org.hibernate.ScrollMode paramScrollMode)
Specified by:
scroll in interface org.hibernate.engine.SessionImplementor

list

public List list(org.hibernate.impl.CriteriaImpl paramCriteriaImpl)
Specified by:
list in interface org.hibernate.engine.SessionImplementor

listFilter

public List listFilter(Object paramObject,
                       String paramString,
                       org.hibernate.engine.QueryParameters paramQueryParameters)
                throws org.hibernate.HibernateException
Specified by:
listFilter in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

iterateFilter

public Iterator iterateFilter(Object paramObject,
                              String paramString,
                              org.hibernate.engine.QueryParameters paramQueryParameters)
                       throws org.hibernate.HibernateException
Specified by:
iterateFilter in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

getEntityPersister

public org.hibernate.persister.entity.EntityPersister getEntityPersister(String paramString,
                                                                         Object paramObject)
                                                                  throws org.hibernate.HibernateException
Specified by:
getEntityPersister in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

getEntityUsingInterceptor

public Object getEntityUsingInterceptor(org.hibernate.engine.EntityKey paramEntityKey)
                                 throws org.hibernate.HibernateException
Specified by:
getEntityUsingInterceptor in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

afterTransactionCompletion

public void afterTransactionCompletion(boolean paramBoolean,
                                       org.hibernate.Transaction paramTransaction)
Specified by:
afterTransactionCompletion in interface org.hibernate.engine.SessionImplementor

beforeTransactionCompletion

public void beforeTransactionCompletion(org.hibernate.Transaction paramTransaction)
Specified by:
beforeTransactionCompletion in interface org.hibernate.engine.SessionImplementor

getContextEntityIdentifier

public Serializable getContextEntityIdentifier(Object paramObject)
Specified by:
getContextEntityIdentifier in interface org.hibernate.engine.SessionImplementor

bestGuessEntityName

public String bestGuessEntityName(Object paramObject)
Specified by:
bestGuessEntityName in interface org.hibernate.engine.SessionImplementor

guessEntityName

public String guessEntityName(Object paramObject)
                       throws org.hibernate.HibernateException
Specified by:
guessEntityName in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

instantiate

public Object instantiate(String paramString,
                          Serializable paramSerializable)
                   throws org.hibernate.HibernateException
Specified by:
instantiate in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

listCustomQuery

public List listCustomQuery(org.hibernate.loader.custom.CustomQuery paramCustomQuery,
                            org.hibernate.engine.QueryParameters paramQueryParameters)
                     throws org.hibernate.HibernateException
Specified by:
listCustomQuery in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

scrollCustomQuery

public org.hibernate.ScrollableResults scrollCustomQuery(org.hibernate.loader.custom.CustomQuery paramCustomQuery,
                                                         org.hibernate.engine.QueryParameters paramQueryParameters)
                                                  throws org.hibernate.HibernateException
Specified by:
scrollCustomQuery in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

list

public List list(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification,
                 org.hibernate.engine.QueryParameters paramQueryParameters)
          throws org.hibernate.HibernateException
Specified by:
list in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

scroll

public org.hibernate.ScrollableResults scroll(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification,
                                              org.hibernate.engine.QueryParameters paramQueryParameters)
                                       throws org.hibernate.HibernateException
Specified by:
scroll in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

getFilterParameterValue

public Object getFilterParameterValue(String paramString)
Specified by:
getFilterParameterValue in interface org.hibernate.engine.SessionImplementor

getFilterParameterType

public org.hibernate.type.Type getFilterParameterType(String paramString)
Specified by:
getFilterParameterType in interface org.hibernate.engine.SessionImplementor

getEnabledFilters

public Map getEnabledFilters()
Specified by:
getEnabledFilters in interface org.hibernate.engine.SessionImplementor

getDontFlushFromFind

public int getDontFlushFromFind()
Specified by:
getDontFlushFromFind in interface org.hibernate.engine.SessionImplementor

getListeners

public org.hibernate.event.EventListeners getListeners()
Specified by:
getListeners in interface org.hibernate.engine.SessionImplementor

getPersistenceContext

public org.hibernate.engine.PersistenceContext getPersistenceContext()
Specified by:
getPersistenceContext in interface org.hibernate.engine.SessionImplementor

executeUpdate

public int executeUpdate(String paramString,
                         org.hibernate.engine.QueryParameters paramQueryParameters)
                  throws org.hibernate.HibernateException
Specified by:
executeUpdate in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

executeNativeUpdate

public int executeNativeUpdate(org.hibernate.engine.query.sql.NativeSQLQuerySpecification paramNativeSQLQuerySpecification,
                               org.hibernate.engine.QueryParameters paramQueryParameters)
                        throws org.hibernate.HibernateException
Specified by:
executeNativeUpdate in interface org.hibernate.engine.SessionImplementor
Throws:
org.hibernate.HibernateException

getEntityMode

public org.hibernate.EntityMode getEntityMode()
Specified by:
getEntityMode in interface org.hibernate.engine.SessionImplementor
Specified by:
getEntityMode in interface org.hibernate.Session

getCacheMode

public org.hibernate.CacheMode getCacheMode()
Specified by:
getCacheMode in interface org.hibernate.engine.SessionImplementor
Specified by:
getCacheMode in interface org.hibernate.Session

setCacheMode

public void setCacheMode(org.hibernate.CacheMode paramCacheMode)
Specified by:
setCacheMode in interface org.hibernate.engine.SessionImplementor
Specified by:
setCacheMode in interface org.hibernate.Session

isOpen

public boolean isOpen()
Specified by:
isOpen in interface org.hibernate.engine.SessionImplementor
Specified by:
isOpen in interface org.hibernate.Session

isConnected

public boolean isConnected()
Specified by:
isConnected in interface org.hibernate.engine.SessionImplementor
Specified by:
isConnected in interface org.hibernate.Session

getFlushMode

public org.hibernate.FlushMode getFlushMode()
Specified by:
getFlushMode in interface org.hibernate.engine.SessionImplementor
Specified by:
getFlushMode in interface org.hibernate.Session

setFlushMode

public void setFlushMode(org.hibernate.FlushMode paramFlushMode)
Specified by:
setFlushMode in interface org.hibernate.engine.SessionImplementor
Specified by:
setFlushMode in interface org.hibernate.Session

connection

public Connection connection()
Specified by:
connection in interface org.hibernate.engine.SessionImplementor
Specified by:
connection in interface org.hibernate.Session

flush

public void flush()
Specified by:
flush in interface org.hibernate.engine.SessionImplementor
Specified by:
flush in interface org.hibernate.Session

getNamedQuery

public org.hibernate.Query getNamedQuery(String paramString)
Specified by:
getNamedQuery in interface org.hibernate.engine.SessionImplementor
Specified by:
getNamedQuery in interface org.hibernate.Session

getNamedSQLQuery

public org.hibernate.Query getNamedSQLQuery(String paramString)
Specified by:
getNamedSQLQuery in interface org.hibernate.engine.SessionImplementor

isEventSource

public boolean isEventSource()
Specified by:
isEventSource in interface org.hibernate.engine.SessionImplementor

afterScrollOperation

public void afterScrollOperation()
Specified by:
afterScrollOperation in interface org.hibernate.engine.SessionImplementor

getFetchProfile

public String getFetchProfile()
Specified by:
getFetchProfile in interface org.hibernate.engine.SessionImplementor

setFetchProfile

public void setFetchProfile(String paramString)
Specified by:
setFetchProfile in interface org.hibernate.engine.SessionImplementor

getJDBCContext

public org.hibernate.jdbc.JDBCContext getJDBCContext()
Specified by:
getJDBCContext in interface org.hibernate.engine.SessionImplementor

isClosed

public boolean isClosed()
Specified by:
isClosed in interface org.hibernate.engine.SessionImplementor

getSession

public org.hibernate.Session getSession(org.hibernate.EntityMode paramEntityMode)
Specified by:
getSession in interface org.hibernate.Session

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory()
Specified by:
getSessionFactory in interface org.hibernate.Session

close

public Connection close()
                 throws org.hibernate.HibernateException
Specified by:
close in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

cancelQuery

public void cancelQuery()
                 throws org.hibernate.HibernateException
Specified by:
cancelQuery in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

isDirty

public boolean isDirty()
                throws org.hibernate.HibernateException
Specified by:
isDirty in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

isDefaultReadOnly

public boolean isDefaultReadOnly()

setDefaultReadOnly

public void setDefaultReadOnly(boolean paramBoolean)

getIdentifier

public Serializable getIdentifier(Object paramObject)
                           throws org.hibernate.HibernateException
Specified by:
getIdentifier in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

contains

public boolean contains(Object paramObject)
Specified by:
contains in interface org.hibernate.Session

evict

public void evict(Object paramObject)
           throws org.hibernate.HibernateException
Specified by:
evict in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

load

public Object load(Class paramClass,
                   Serializable paramSerializable,
                   org.hibernate.LockMode paramLockMode)
            throws org.hibernate.HibernateException
Specified by:
load in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

load

public Object load(String paramString,
                   Serializable paramSerializable,
                   org.hibernate.LockMode paramLockMode)
            throws org.hibernate.HibernateException
Specified by:
load in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

load

public Object load(Class paramClass,
                   Serializable paramSerializable)
            throws org.hibernate.HibernateException
Specified by:
load in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

load

public Object load(String paramString,
                   Serializable paramSerializable)
            throws org.hibernate.HibernateException
Specified by:
load in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

load

public void load(Object paramObject,
                 Serializable paramSerializable)
          throws org.hibernate.HibernateException
Specified by:
load in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

replicate

public void replicate(Object paramObject,
                      org.hibernate.ReplicationMode paramReplicationMode)
               throws org.hibernate.HibernateException
Specified by:
replicate in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

replicate

public void replicate(String paramString,
                      Object paramObject,
                      org.hibernate.ReplicationMode paramReplicationMode)
               throws org.hibernate.HibernateException
Specified by:
replicate in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

save

public Serializable save(Object paramObject)
                  throws org.hibernate.HibernateException
Specified by:
save in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

save

public Serializable save(String paramString,
                         Object paramObject)
                  throws org.hibernate.HibernateException
Specified by:
save in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

saveOrUpdate

public void saveOrUpdate(Object paramObject)
                  throws org.hibernate.HibernateException
Specified by:
saveOrUpdate in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

saveOrUpdate

public void saveOrUpdate(String paramString,
                         Object paramObject)
                  throws org.hibernate.HibernateException
Specified by:
saveOrUpdate in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

update

public void update(Object paramObject)
            throws org.hibernate.HibernateException
Specified by:
update in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

update

public void update(String paramString,
                   Object paramObject)
            throws org.hibernate.HibernateException
Specified by:
update in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

merge

public Object merge(Object paramObject)
             throws org.hibernate.HibernateException
Specified by:
merge in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

merge

public Object merge(String paramString,
                    Object paramObject)
             throws org.hibernate.HibernateException
Specified by:
merge in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

persist

public void persist(Object paramObject)
             throws org.hibernate.HibernateException
Specified by:
persist in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

persist

public void persist(String paramString,
                    Object paramObject)
             throws org.hibernate.HibernateException
Specified by:
persist in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

delete

public void delete(Object paramObject)
            throws org.hibernate.HibernateException
Specified by:
delete in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

delete

public void delete(String paramString,
                   Object paramObject)
            throws org.hibernate.HibernateException
Specified by:
delete in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

lock

public void lock(Object paramObject,
                 org.hibernate.LockMode paramLockMode)
          throws org.hibernate.HibernateException
Specified by:
lock in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

lock

public void lock(String paramString,
                 Object paramObject,
                 org.hibernate.LockMode paramLockMode)
          throws org.hibernate.HibernateException
Specified by:
lock in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

refresh

public void refresh(Object paramObject)
             throws org.hibernate.HibernateException
Specified by:
refresh in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

refresh

public void refresh(Object paramObject,
                    org.hibernate.LockMode paramLockMode)
             throws org.hibernate.HibernateException
Specified by:
refresh in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

getCurrentLockMode

public org.hibernate.LockMode getCurrentLockMode(Object paramObject)
                                          throws org.hibernate.HibernateException
Specified by:
getCurrentLockMode in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

beginTransaction

public org.hibernate.Transaction beginTransaction()
                                           throws org.hibernate.HibernateException
Specified by:
beginTransaction in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

getTransaction

public org.hibernate.Transaction getTransaction()
Specified by:
getTransaction in interface org.hibernate.Session

createCriteria

public org.hibernate.Criteria createCriteria(Class paramClass)
Specified by:
createCriteria in interface org.hibernate.Session

createCriteria

public org.hibernate.Criteria createCriteria(Class paramClass,
                                             String paramString)
Specified by:
createCriteria in interface org.hibernate.Session

createCriteria

public org.hibernate.Criteria createCriteria(String paramString)
Specified by:
createCriteria in interface org.hibernate.Session

createCriteria

public org.hibernate.Criteria createCriteria(String paramString1,
                                             String paramString2)
Specified by:
createCriteria in interface org.hibernate.Session

createQuery

public org.hibernate.Query createQuery(String paramString)
                                throws org.hibernate.HibernateException
Specified by:
createQuery in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

createSQLQuery

public org.hibernate.SQLQuery createSQLQuery(String paramString)
                                      throws org.hibernate.HibernateException
Specified by:
createSQLQuery in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

createFilter

public org.hibernate.Query createFilter(Object paramObject,
                                        String paramString)
                                 throws org.hibernate.HibernateException
Specified by:
createFilter in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

clear

public void clear()
Specified by:
clear in interface org.hibernate.Session

get

public Object get(Class paramClass,
                  Serializable paramSerializable)
           throws org.hibernate.HibernateException
Specified by:
get in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

get

public Object get(Class paramClass,
                  Serializable paramSerializable,
                  org.hibernate.LockMode paramLockMode)
           throws org.hibernate.HibernateException
Specified by:
get in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

get

public Object get(String paramString,
                  Serializable paramSerializable)
           throws org.hibernate.HibernateException
Specified by:
get in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

get

public Object get(String paramString,
                  Serializable paramSerializable,
                  org.hibernate.LockMode paramLockMode)
           throws org.hibernate.HibernateException
Specified by:
get in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

getEntityName

public String getEntityName(Object paramObject)
                     throws org.hibernate.HibernateException
Specified by:
getEntityName in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

enableFilter

public org.hibernate.Filter enableFilter(String paramString)
Specified by:
enableFilter in interface org.hibernate.Session

getEnabledFilter

public org.hibernate.Filter getEnabledFilter(String paramString)
Specified by:
getEnabledFilter in interface org.hibernate.Session

disableFilter

public void disableFilter(String paramString)
Specified by:
disableFilter in interface org.hibernate.Session

getStatistics

public org.hibernate.stat.SessionStatistics getStatistics()
Specified by:
getStatistics in interface org.hibernate.Session

isReadOnly

public boolean isReadOnly(Object paramObject)

setReadOnly

public void setReadOnly(Object paramObject,
                        boolean paramBoolean)
Specified by:
setReadOnly in interface org.hibernate.Session

doWork

public void doWork(org.hibernate.jdbc.Work paramWork)
            throws org.hibernate.HibernateException
Specified by:
doWork in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

disconnect

public Connection disconnect()
                      throws org.hibernate.HibernateException
Specified by:
disconnect in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

reconnect

public void reconnect()
               throws org.hibernate.HibernateException
Specified by:
reconnect in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

reconnect

public void reconnect(Connection paramConnection)
               throws org.hibernate.HibernateException
Specified by:
reconnect in interface org.hibernate.Session
Throws:
org.hibernate.HibernateException

isFetchProfileEnabled

public boolean isFetchProfileEnabled(String paramString)

enableFetchProfile

public void enableFetchProfile(String paramString)

disableFetchProfile

public void disableFetchProfile(String paramString)

getActionQueue

public org.hibernate.engine.ActionQueue getActionQueue()
Specified by:
getActionQueue in interface org.hibernate.event.EventSource

instantiate

public Object instantiate(org.hibernate.persister.entity.EntityPersister paramEntityPersister,
                          Serializable paramSerializable)
                   throws org.hibernate.HibernateException
Specified by:
instantiate in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

forceFlush

public void forceFlush(org.hibernate.engine.EntityEntry paramEntityEntry)
                throws org.hibernate.HibernateException
Specified by:
forceFlush in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

merge

public void merge(String paramString,
                  Object paramObject,
                  Map paramMap)
           throws org.hibernate.HibernateException
Specified by:
merge in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

persist

public void persist(String paramString,
                    Object paramObject,
                    Map paramMap)
             throws org.hibernate.HibernateException
Specified by:
persist in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

persistOnFlush

public void persistOnFlush(String paramString,
                           Object paramObject,
                           Map paramMap)
Specified by:
persistOnFlush in interface org.hibernate.event.EventSource

refresh

public void refresh(Object paramObject,
                    Map paramMap)
             throws org.hibernate.HibernateException
Specified by:
refresh in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

saveOrUpdateCopy

public void saveOrUpdateCopy(String paramString,
                             Object paramObject,
                             Map paramMap)
                      throws org.hibernate.HibernateException
Specified by:
saveOrUpdateCopy in interface org.hibernate.event.EventSource
Throws:
org.hibernate.HibernateException

delete

public void delete(String paramString,
                   Object paramObject,
                   boolean paramBoolean,
                   Set paramSet)
Specified by:
delete in interface org.hibernate.event.EventSource