当前页面: 
在线文档首页 > 
JBoss Seam  1.2.0 API 英文版文档
HibernateSessionProxy (JBoss Seam API Documentation) - JBoss Seam  1.2.0 API 英文版文档
org.jboss.seam.persistence
Class HibernateSessionProxy
java.lang.Object
   org.jboss.seam.persistence.HibernateSessionProxy
org.jboss.seam.persistence.HibernateSessionProxy
- All Implemented Interfaces: 
- Serializable, org.hibernate.Session
- public class HibernateSessionProxy 
- extends Object- implements org.hibernate.Session
- See Also:
- Serialized Form
 
| Method Summary | 
|  org.hibernate.Transaction | beginTransaction()
 | 
|  void | cancelQuery()
 | 
|  void | clear()
 | 
|  Connection | close()
 | 
|  Connection | connection()
 | 
|  boolean | contains(Object arg0)
 | 
|  org.hibernate.Criteria | createCriteria(Class arg0)
 | 
|  org.hibernate.Criteria | createCriteria(Class arg0,
               String arg1)
 | 
|  org.hibernate.Criteria | createCriteria(String arg0)
 | 
|  org.hibernate.Criteria | createCriteria(String arg0,
               String arg1)
 | 
|  org.hibernate.Query | createFilter(Object arg0,
             String arg1)
 | 
|  org.hibernate.Query | createQuery(String hql)
 | 
|  org.hibernate.SQLQuery | createSQLQuery(String arg0)
 | 
|  void | delete(Object arg0)
 | 
|  void | delete(String arg0,
       Object arg1)
 | 
|  void | disableFilter(String arg0)
 | 
|  Connection | disconnect()
 | 
|  org.hibernate.Filter | enableFilter(String arg0)
 | 
|  void | evict(Object arg0)
 | 
|  void | flush()
 | 
|  Object | get(Class arg0,
    Serializable arg1)
 | 
|  Object | get(Class arg0,
    Serializable arg1,
    org.hibernate.LockMode arg2)
 | 
|  Object | get(String arg0,
    Serializable arg1)
 | 
|  Object | get(String arg0,
    Serializable arg1,
    org.hibernate.LockMode arg2)
 | 
|  org.hibernate.CacheMode | getCacheMode()
 | 
|  org.hibernate.LockMode | getCurrentLockMode(Object arg0)
 | 
|  org.hibernate.Filter | getEnabledFilter(String arg0)
 | 
|  org.hibernate.EntityMode | getEntityMode()
 | 
|  String | getEntityName(Object arg0)
 | 
|  org.hibernate.FlushMode | getFlushMode()
 | 
|  Serializable | getIdentifier(Object arg0)
 | 
|  org.hibernate.Query | getNamedQuery(String arg0)
 | 
|  org.hibernate.Session | getSession(org.hibernate.EntityMode arg0)
 | 
|  org.hibernate.SessionFactory | getSessionFactory()
 | 
|  org.hibernate.stat.SessionStatistics | getStatistics()
 | 
|  org.hibernate.Transaction | getTransaction()
 | 
|  boolean | isConnected()
 | 
|  boolean | isDirty()
 | 
|  boolean | isOpen()
 | 
|  Object | load(Class arg0,
     Serializable arg1)
 | 
|  Object | load(Class arg0,
     Serializable arg1,
     org.hibernate.LockMode arg2)
 | 
|  void | load(Object arg0,
     Serializable arg1)
 | 
|  Object | load(String arg0,
     Serializable arg1)
 | 
|  Object | load(String arg0,
     Serializable arg1,
     org.hibernate.LockMode arg2)
 | 
|  void | lock(Object arg0,
     org.hibernate.LockMode arg1)
 | 
|  void | lock(String arg0,
     Object arg1,
     org.hibernate.LockMode arg2)
 | 
|  Object | merge(Object arg0)
 | 
|  Object | merge(String arg0,
      Object arg1)
 | 
|  void | persist(Object arg0)
 | 
|  void | persist(String arg0,
        Object arg1)
 | 
|  void | reconnect()
 | 
|  void | reconnect(Connection arg0)
 | 
|  void | refresh(Object arg0)
 | 
|  void | refresh(Object arg0,
        org.hibernate.LockMode arg1)
 | 
|  void | replicate(Object arg0,
          org.hibernate.ReplicationMode arg1)
 | 
|  void | replicate(String arg0,
          Object arg1,
          org.hibernate.ReplicationMode arg2)
 | 
|  Serializable | save(Object arg0)
 | 
|  Serializable | save(String arg0,
     Object arg1)
 | 
|  void | saveOrUpdate(Object arg0)
 | 
|  void | saveOrUpdate(String arg0,
             Object arg1)
 | 
|  void | setCacheMode(org.hibernate.CacheMode arg0)
 | 
|  void | setFlushMode(org.hibernate.FlushMode arg0)
 | 
|  void | setReadOnly(Object arg0,
            boolean arg1)
 | 
|  void | update(Object arg0)
 | 
|  void | update(String arg0,
       Object arg1)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HibernateSessionProxy
public HibernateSessionProxy(org.hibernate.Session session)
beginTransaction
public org.hibernate.Transaction beginTransaction()
                                           throws org.hibernate.HibernateException
- 
- Specified by:
- beginTransactionin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
cancelQuery
public void cancelQuery()
                 throws org.hibernate.HibernateException
- 
- Specified by:
- cancelQueryin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
clear
public void clear()
- 
- Specified by:
- clearin interface- org.hibernate.Session
 
- 
 
close
public Connection close()
                 throws org.hibernate.HibernateException
- 
- Specified by:
- closein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
connection
public Connection connection()
                      throws org.hibernate.HibernateException
- 
- Specified by:
- connectionin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
contains
public boolean contains(Object arg0)
- 
- Specified by:
- containsin interface- org.hibernate.Session
 
- 
 
createCriteria
public org.hibernate.Criteria createCriteria(Class arg0,
                                             String arg1)
- 
- Specified by:
- createCriteriain interface- org.hibernate.Session
 
- 
 
createCriteria
public org.hibernate.Criteria createCriteria(Class arg0)
- 
- Specified by:
- createCriteriain interface- org.hibernate.Session
 
- 
 
createCriteria
public org.hibernate.Criteria createCriteria(String arg0,
                                             String arg1)
- 
- Specified by:
- createCriteriain interface- org.hibernate.Session
 
- 
 
createCriteria
public org.hibernate.Criteria createCriteria(String arg0)
- 
- Specified by:
- createCriteriain interface- org.hibernate.Session
 
- 
 
createFilter
public org.hibernate.Query createFilter(Object arg0,
                                        String arg1)
                                 throws org.hibernate.HibernateException
- 
- Specified by:
- createFilterin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
createQuery
public org.hibernate.Query createQuery(String hql)
                                throws org.hibernate.HibernateException
- 
- Specified by:
- createQueryin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
createSQLQuery
public org.hibernate.SQLQuery createSQLQuery(String arg0)
                                      throws org.hibernate.HibernateException
- 
- Specified by:
- createSQLQueryin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
delete
public void delete(Object arg0)
            throws org.hibernate.HibernateException
- 
- Specified by:
- deletein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
delete
public void delete(String arg0,
                   Object arg1)
            throws org.hibernate.HibernateException
- 
- Specified by:
- deletein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
disableFilter
public void disableFilter(String arg0)
- 
- Specified by:
- disableFilterin interface- org.hibernate.Session
 
- 
 
disconnect
public Connection disconnect()
                      throws org.hibernate.HibernateException
- 
- Specified by:
- disconnectin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
enableFilter
public org.hibernate.Filter enableFilter(String arg0)
- 
- Specified by:
- enableFilterin interface- org.hibernate.Session
 
- 
 
evict
public void evict(Object arg0)
           throws org.hibernate.HibernateException
- 
- Specified by:
- evictin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
flush
public void flush()
           throws org.hibernate.HibernateException
- 
- Specified by:
- flushin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
get
public Object get(Class arg0,
                  Serializable arg1,
                  org.hibernate.LockMode arg2)
           throws org.hibernate.HibernateException
- 
- Specified by:
- getin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
get
public Object get(Class arg0,
                  Serializable arg1)
           throws org.hibernate.HibernateException
- 
- Specified by:
- getin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
get
public Object get(String arg0,
                  Serializable arg1,
                  org.hibernate.LockMode arg2)
           throws org.hibernate.HibernateException
- 
- Specified by:
- getin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
get
public Object get(String arg0,
                  Serializable arg1)
           throws org.hibernate.HibernateException
- 
- Specified by:
- getin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
getCacheMode
public org.hibernate.CacheMode getCacheMode()
- 
- Specified by:
- getCacheModein interface- org.hibernate.Session
 
- 
 
getCurrentLockMode
public org.hibernate.LockMode getCurrentLockMode(Object arg0)
                                          throws org.hibernate.HibernateException
- 
- Specified by:
- getCurrentLockModein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
getEnabledFilter
public org.hibernate.Filter getEnabledFilter(String arg0)
- 
- Specified by:
- getEnabledFilterin interface- org.hibernate.Session
 
- 
 
getEntityMode
public org.hibernate.EntityMode getEntityMode()
- 
- Specified by:
- getEntityModein interface- org.hibernate.Session
 
- 
 
getEntityName
public String getEntityName(Object arg0)
                     throws org.hibernate.HibernateException
- 
- Specified by:
- getEntityNamein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
getFlushMode
public org.hibernate.FlushMode getFlushMode()
- 
- Specified by:
- getFlushModein interface- org.hibernate.Session
 
- 
 
getIdentifier
public Serializable getIdentifier(Object arg0)
                           throws org.hibernate.HibernateException
- 
- Specified by:
- getIdentifierin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
getNamedQuery
public org.hibernate.Query getNamedQuery(String arg0)
                                  throws org.hibernate.HibernateException
- 
- Specified by:
- getNamedQueryin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
getSession
public org.hibernate.Session getSession(org.hibernate.EntityMode arg0)
- 
- Specified by:
- getSessionin interface- org.hibernate.Session
 
- 
 
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
- 
- Specified by:
- getSessionFactoryin interface- org.hibernate.Session
 
- 
 
getStatistics
public org.hibernate.stat.SessionStatistics getStatistics()
- 
- Specified by:
- getStatisticsin interface- org.hibernate.Session
 
- 
 
getTransaction
public org.hibernate.Transaction getTransaction()
- 
- Specified by:
- getTransactionin interface- org.hibernate.Session
 
- 
 
isConnected
public boolean isConnected()
- 
- Specified by:
- isConnectedin interface- org.hibernate.Session
 
- 
 
isDirty
public boolean isDirty()
                throws org.hibernate.HibernateException
- 
- Specified by:
- isDirtyin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
isOpen
public boolean isOpen()
- 
- Specified by:
- isOpenin interface- org.hibernate.Session
 
- 
 
load
public Object load(Class arg0,
                   Serializable arg1,
                   org.hibernate.LockMode arg2)
            throws org.hibernate.HibernateException
- 
- Specified by:
- loadin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
load
public Object load(Class arg0,
                   Serializable arg1)
            throws org.hibernate.HibernateException
- 
- Specified by:
- loadin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
load
public void load(Object arg0,
                 Serializable arg1)
          throws org.hibernate.HibernateException
- 
- Specified by:
- loadin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
load
public Object load(String arg0,
                   Serializable arg1,
                   org.hibernate.LockMode arg2)
            throws org.hibernate.HibernateException
- 
- Specified by:
- loadin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
load
public Object load(String arg0,
                   Serializable arg1)
            throws org.hibernate.HibernateException
- 
- Specified by:
- loadin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
lock
public void lock(Object arg0,
                 org.hibernate.LockMode arg1)
          throws org.hibernate.HibernateException
- 
- Specified by:
- lockin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
lock
public void lock(String arg0,
                 Object arg1,
                 org.hibernate.LockMode arg2)
          throws org.hibernate.HibernateException
- 
- Specified by:
- lockin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
merge
public Object merge(Object arg0)
             throws org.hibernate.HibernateException
- 
- Specified by:
- mergein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
merge
public Object merge(String arg0,
                    Object arg1)
             throws org.hibernate.HibernateException
- 
- Specified by:
- mergein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
persist
public void persist(Object arg0)
             throws org.hibernate.HibernateException
- 
- Specified by:
- persistin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
persist
public void persist(String arg0,
                    Object arg1)
             throws org.hibernate.HibernateException
- 
- Specified by:
- persistin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
reconnect
public void reconnect()
               throws org.hibernate.HibernateException
- 
- Specified by:
- reconnectin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
reconnect
public void reconnect(Connection arg0)
               throws org.hibernate.HibernateException
- 
- Specified by:
- reconnectin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
refresh
public void refresh(Object arg0,
                    org.hibernate.LockMode arg1)
             throws org.hibernate.HibernateException
- 
- Specified by:
- refreshin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
refresh
public void refresh(Object arg0)
             throws org.hibernate.HibernateException
- 
- Specified by:
- refreshin interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
replicate
public void replicate(Object arg0,
                      org.hibernate.ReplicationMode arg1)
               throws org.hibernate.HibernateException
- 
- Specified by:
- replicatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
replicate
public void replicate(String arg0,
                      Object arg1,
                      org.hibernate.ReplicationMode arg2)
               throws org.hibernate.HibernateException
- 
- Specified by:
- replicatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
save
public Serializable save(Object arg0)
                  throws org.hibernate.HibernateException
- 
- Specified by:
- savein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
save
public Serializable save(String arg0,
                         Object arg1)
                  throws org.hibernate.HibernateException
- 
- Specified by:
- savein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
saveOrUpdate
public void saveOrUpdate(Object arg0)
                  throws org.hibernate.HibernateException
- 
- Specified by:
- saveOrUpdatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
saveOrUpdate
public void saveOrUpdate(String arg0,
                         Object arg1)
                  throws org.hibernate.HibernateException
- 
- Specified by:
- saveOrUpdatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
setCacheMode
public void setCacheMode(org.hibernate.CacheMode arg0)
- 
- Specified by:
- setCacheModein interface- org.hibernate.Session
 
- 
 
setFlushMode
public void setFlushMode(org.hibernate.FlushMode arg0)
- 
- Specified by:
- setFlushModein interface- org.hibernate.Session
 
- 
 
setReadOnly
public void setReadOnly(Object arg0,
                        boolean arg1)
- 
- Specified by:
- setReadOnlyin interface- org.hibernate.Session
 
- 
 
update
public void update(Object arg0)
            throws org.hibernate.HibernateException
- 
- Specified by:
- updatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException
 
update
public void update(String arg0,
                   Object arg1)
            throws org.hibernate.HibernateException
- 
- Specified by:
- updatein interface- org.hibernate.Session
 
- 
- Throws:
- org.hibernate.HibernateException