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 Summary
Modifier and TypeMethodDescription@NotNull Connection
@NotNull org.hibernate.Session
Gets the current Hibernate session
-
Method Details
-
getSession
@NotNull @NotNull org.hibernate.Session getSession()Gets the current Hibernate session- Returns:
- the current Hibernate session
-
getConnection
-