Interface PluginHibernateSessionFactory

  • All Known Implementing Classes:
    SpringPluginHibernateSessionFactory

    public interface PluginHibernateSessionFactory
    A factory to access the current Hibernate session. This is a simplified session factory that allow plugins to access correctly configured sessions from the host application.
    • Method Detail

      • getSession

        @NotNull
        @NotNull org.hibernate.Session getSession()
        Gets the current Hibernate session
        Returns:
        the current Hibernate session
      • getConnection

        @Internal
        @NotNull
        @NotNull Connection getConnection()