| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Session in org.hibernate | 
|---|
| Methods in org.hibernate that return Session | |
|---|---|
|  Session | SessionFactory.getCurrentSession()Obtains the current session. | 
|  Session | SessionBuilder.openSession()Opens a session with the specified options. | 
|  Session | SessionFactory.openSession()Open a Session. | 
| Methods in org.hibernate with parameters of type Session | |
|---|---|
| static LobCreator | Hibernate.getLobCreator(Session session) | 
| Uses of Session in org.hibernate.classic | 
|---|
| Methods in org.hibernate.classic with parameters of type Session | |
|---|---|
|  boolean | Lifecycle.onDelete(Session s)Called when an entity is deleted. | 
|  void | Lifecycle.onLoad(Session s,
       Serializable id)Called after an entity is loaded. | 
|  boolean | Lifecycle.onSave(Session s)Called when an entity is saved. | 
|  boolean | Lifecycle.onUpdate(Session s)Called when an entity is passed to Session.update(). | 
| Uses of Session in org.hibernate.context.internal | 
|---|
| Methods in org.hibernate.context.internal that return Session | |
|---|---|
| static Session | ManagedSessionContext.bind(Session session)Binds the given session to the current context for its session factory. | 
| protected  Session | ThreadLocalSessionContext.buildOrObtainSession()Strictly provided for subclassing purposes; specifically to allow long-session support. | 
| protected  Session | JTASessionContext.buildOrObtainSession()Strictly provided for subclassing purposes; specifically to allow long-session support. | 
|  Session | ThreadLocalSessionContext.currentSession()Retrieve the current session according to the scoping defined by this implementation. | 
|  Session | ManagedSessionContext.currentSession() | 
|  Session | JTASessionContext.currentSession() | 
| static Session | ThreadLocalSessionContext.unbind(SessionFactory factory)Disassociates a previously bound session from the current thread of execution. | 
| static Session | ManagedSessionContext.unbind(SessionFactory factory)Unbinds the session (if one) current associated with the context for the given session. | 
| protected  Session | ThreadLocalSessionContext.wrap(Session session) | 
| Methods in org.hibernate.context.internal that return types with arguments of type Session | |
|---|---|
| protected static Map<SessionFactory,Session> | ManagedSessionContext.sessionMap() | 
| Methods in org.hibernate.context.internal with parameters of type Session | |
|---|---|
| static void | ThreadLocalSessionContext.bind(Session session)Associates the given session with the current thread of execution. | 
| static Session | ManagedSessionContext.bind(Session session)Binds the given session to the current context for its session factory. | 
| protected  Session | ThreadLocalSessionContext.wrap(Session session) | 
| Uses of Session in org.hibernate.context.spi | 
|---|
| Methods in org.hibernate.context.spi that return Session | |
|---|---|
|  Session | CurrentSessionContext.currentSession()Retrieve the current session according to the scoping defined by this implementation. | 
| Uses of Session in org.hibernate.criterion | 
|---|
| Methods in org.hibernate.criterion with parameters of type Session | |
|---|---|
|  Criteria | DetachedCriteria.getExecutableCriteria(Session session)Get an executable instance of | 
| Uses of Session in org.hibernate.ejb | 
|---|
| Fields in org.hibernate.ejb declared as Session | |
|---|---|
| protected  Session | EntityManagerImpl.session | 
| Methods in org.hibernate.ejb that return Session | |
|---|---|
| protected  Session | EntityManagerImpl.getRawSession() | 
| protected abstract  Session | AbstractEntityManagerImpl.getRawSession()Return a Session (even if the entity manager is closed). | 
|  Session | EntityManagerImpl.getSession() | 
|  Session | HibernateEntityManager.getSession()Retrieve a reference to the Hibernate Sessionused by thisEntityManager. | 
| abstract  Session | AbstractEntityManagerImpl.getSession()return a Session | 
| Uses of Session in org.hibernate.engine.spi | 
|---|
| Methods in org.hibernate.engine.spi that return Session | |
|---|---|
|  Session | SessionFactoryImplementor.openTemporarySession()Get a nontransactional "current" session for Hibernate EntityManager | 
| Uses of Session in org.hibernate.envers | 
|---|
| Methods in org.hibernate.envers with parameters of type Session | |
|---|---|
| static AuditReader | AuditReaderFactory.get(Session session)Create an audit reader associated with an open session. | 
| Uses of Session in org.hibernate.envers.reader | 
|---|
| Methods in org.hibernate.envers.reader that return Session | |
|---|---|
|  Session | AuditReaderImplementor.getSession() | 
|  Session | AuditReaderImpl.getSession() | 
| Constructors in org.hibernate.envers.reader with parameters of type Session | |
|---|---|
| AuditReaderImpl(AuditConfiguration verCfg,
                Session session,
                SessionImplementor sessionImplementor) | |
| Uses of Session in org.hibernate.envers.revisioninfo | 
|---|
| Methods in org.hibernate.envers.revisioninfo with parameters of type Session | |
|---|---|
|  Criteria | RevisionInfoQueryCreator.getRevisionDateQuery(Session session,
                     Number revision) | 
|  Criteria | RevisionInfoQueryCreator.getRevisionNumberForDateQuery(Session session,
                              Date date) | 
|  Criteria | RevisionInfoQueryCreator.getRevisionsQuery(Session session,
                  Set<Number> revisions) | 
|  void | DefaultRevisionInfoGenerator.saveRevisionData(Session session,
                 Object revisionData) | 
|  void | RevisionInfoGenerator.saveRevisionData(Session session,
                 Object revisionData) | 
| Uses of Session in org.hibernate.envers.strategy | 
|---|
| Methods in org.hibernate.envers.strategy with parameters of type Session | |
|---|---|
|  void | AuditStrategy.perform(Session session,
        String entityName,
        AuditConfiguration auditCfg,
        Serializable id,
        Object data,
        Object revision)Perform the persistence of audited data for regular entities. | 
|  void | DefaultAuditStrategy.perform(Session session,
        String entityName,
        AuditConfiguration auditCfg,
        Serializable id,
        Object data,
        Object revision) | 
|  void | ValidityAuditStrategy.perform(Session session,
        String entityName,
        AuditConfiguration auditCfg,
        Serializable id,
        Object data,
        Object revision) | 
|  void | AuditStrategy.performCollectionChange(Session session,
                        AuditConfiguration auditCfg,
                        PersistentCollectionChangeData persistentCollectionChangeData,
                        Object revision)Perform the persistence of audited data for collection ("middle") entities. | 
|  void | DefaultAuditStrategy.performCollectionChange(Session session,
                        AuditConfiguration auditCfg,
                        PersistentCollectionChangeData persistentCollectionChangeData,
                        Object revision) | 
|  void | ValidityAuditStrategy.performCollectionChange(Session session,
                        AuditConfiguration auditCfg,
                        PersistentCollectionChangeData persistentCollectionChangeData,
                        Object revision) | 
| Uses of Session in org.hibernate.envers.synchronization | 
|---|
| Methods in org.hibernate.envers.synchronization with parameters of type Session | |
|---|---|
|  void | EntityChangeNotifier.entityChanged(Session session,
              Object currentRevisionData,
              AuditWorkUnit vwu)Notifies RevisionInfoGeneratorabout changes made in the current revision. | 
|  Object | AuditProcess.getCurrentRevisionData(Session session,
                       boolean persist) | 
|  void | SessionCacheCleaner.scheduleAuditDataRemoval(Session session,
                         Object data)Schedules audit data removal from session level cache after transaction completion. | 
| Uses of Session in org.hibernate.envers.synchronization.work | 
|---|
| Methods in org.hibernate.envers.synchronization.work with parameters of type Session | |
|---|---|
|  void | AbstractAuditWorkUnit.perform(Session session,
        Object revisionData) | 
|  void | PersistentCollectionChangeWorkUnit.perform(Session session,
        Object revisionData) | 
|  void | AuditWorkUnit.perform(Session session,
        Object revisionData)Perform this work unit in the given session. | 
|  void | AbstractAuditWorkUnit.undo(Session session) | 
|  void | AuditWorkUnit.undo(Session session) | 
| Uses of Session in org.hibernate.envers.test | 
|---|
| Methods in org.hibernate.envers.test that return Session | |
|---|---|
| protected  Session | AbstractSessionTest.getSession() | 
| protected  Session | AbstractOneSessionTest.getSession() | 
| Uses of Session in org.hibernate.envers.tools | 
|---|
| Methods in org.hibernate.envers.tools with parameters of type Session | |
|---|---|
| static Class | Tools.getEntityClass(SessionImplementor sessionImplementor,
               Session session,
               String entityName) | 
| Uses of Session in org.hibernate.envers.tools.query | 
|---|
| Methods in org.hibernate.envers.tools.query with parameters of type Session | |
|---|---|
|  Query | QueryBuilder.toQuery(Session session) | 
| Uses of Session in org.hibernate.event.spi | 
|---|
| Subinterfaces of Session in org.hibernate.event.spi | |
|---|---|
|  interface | EventSource | 
| Uses of Session in org.hibernate.internal | 
|---|
| Classes in org.hibernate.internal that implement Session | |
|---|---|
|  class | SessionImplConcrete implementation of a Session. | 
| Methods in org.hibernate.internal that return Session | |
|---|---|
|  Session | SessionFactoryImpl.getCurrentSession() | 
|  Session | SessionFactoryImpl.openSession() | 
|  Session | SessionFactoryImpl.openTemporarySession() | 
| Uses of Session in org.hibernate.jmx | 
|---|
| Methods in org.hibernate.jmx that return Session | |
|---|---|
|  Session | SessionFactoryStub.getCurrentSession()Deprecated. | 
|  Session | SessionFactoryStub.openSession()Deprecated. | 
| Uses of Session in org.hibernate.test.interceptor | 
|---|
| Methods in org.hibernate.test.interceptor with parameters of type Session | |
|---|---|
|  void | StatefulInterceptor.setSession(Session s) | 
| Uses of Session in org.hibernate.test.legacy | 
|---|
| Methods in org.hibernate.test.legacy with parameters of type Session | |
|---|---|
| protected  int | LegacyTestCase.doDelete(Session session,
         Query selectQuery) | 
| protected  int | LegacyTestCase.doDelete(Session session,
         String queryString) | 
| protected  int | LegacyTestCase.doDelete(Session session,
         String queryString,
         Object param,
         Type paramType) | 
| Uses of Session in org.hibernate.test.nonflushedchanges | 
|---|
| Methods in org.hibernate.test.nonflushedchanges that return Session | |
|---|---|
| protected  Session | AbstractOperationTestCase.applyNonFlushedChangesToNewSessionCloseOldSession(Session oldSession) | 
| Methods in org.hibernate.test.nonflushedchanges with parameters of type Session | |
|---|---|
| protected  Session | AbstractOperationTestCase.applyNonFlushedChangesToNewSessionCloseOldSession(Session oldSession) | 
| Uses of Session in org.hibernate.test.onetomany | 
|---|
| Methods in org.hibernate.test.onetomany that return Session | |
|---|---|
|  Session | AbstractRecursiveBidirectionalOneToManyTest.openSession() | 
| Uses of Session in org.hibernate.test.querycache | 
|---|
| Methods in org.hibernate.test.querycache with parameters of type Session | |
|---|---|
| protected abstract  Criteria | AbstractQueryCacheResultTransformerTest.CriteriaExecutor.getCriteria(Session s) | 
| protected abstract  Query | AbstractQueryCacheResultTransformerTest.HqlExecutor.getQuery(Session s) | 
| protected  Object | AbstractQueryCacheResultTransformerTest.CriteriaExecutor.getResults(Session s,
           boolean isSingleResult) | 
| protected  Object | AbstractQueryCacheResultTransformerTest.HqlExecutor.getResults(Session s,
           boolean isSingleResult) | 
| protected abstract  Object | AbstractQueryCacheResultTransformerTest.QueryExecutor.getResults(Session s,
           boolean isSingleResult) | 
| Uses of Session in org.hibernate.test.queryplan | 
|---|
| Methods in org.hibernate.test.queryplan with parameters of type Session | |
|---|---|
| protected  Map | GetHqlQueryPlanTest.getEnabledFilters(Session s) | 
| Uses of Session in org.hibernate.test.readonly | 
|---|
| Methods in org.hibernate.test.readonly that return Session | |
|---|---|
|  Session | AbstractReadOnlyTest.openSession() | 
| Uses of Session in org.hibernate.testing.junit4 | 
|---|
| Methods in org.hibernate.testing.junit4 that return Session | |
|---|---|
| protected  Session | BaseCoreFunctionalTestCase.openSession() | 
| protected  Session | BaseCoreFunctionalTestCase.openSession(Interceptor interceptor) | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||