Interface PluginHibernateSessionFactory
-
- All Known Implementing Classes:
SpringPluginHibernateSessionFactory
public interface PluginHibernateSessionFactoryA factory to access the currentHibernate session. This is a simplified session factory that allow plugins to access correctly configuredsessionsfrom the host application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ConnectiongetConnection()@NotNull org.hibernate.SessiongetSession()Gets the current Hibernate session
-
-
-
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()
-
-