Interface PluginHibernateSessionFactory
-
- All Known Implementing Classes:
SpringPluginHibernateSessionFactory
public interface PluginHibernateSessionFactory
A factory to access the currentHibernate session
. This is a simplified session factory that allow plugins to access correctly configuredsessions
from the host application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Connection
getConnection()
@NotNull org.hibernate.Session
getSession()
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()
-
-