Interface HibernateSessionSource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.hibernate.Session create()
      Creates a new session using the SessionFactory created at service startup.
      org.hibernate.cfg.Configuration getConfiguration()
      Returns the final configuration used to create the SessionFactory.
      org.hibernate.SessionFactory getSessionFactory()
      Returns the SessionFactory from which Hibernate sessions are created.
    • Method Detail

      • create

        org.hibernate.Session create()
        Creates a new session using the SessionFactory created at service startup.
      • getSessionFactory

        org.hibernate.SessionFactory getSessionFactory()
        Returns the SessionFactory from which Hibernate sessions are created.
      • getConfiguration

        org.hibernate.cfg.Configuration getConfiguration()
        Returns the final configuration used to create the SessionFactory. The configuration is immutable.