Class SpringPluginHibernateSessionFactory
java.lang.Object
com.atlassian.bamboo.persistence3.SpringPluginHibernateSessionFactory
- All Implemented Interfaces:
PluginHibernateSessionFactory
public class SpringPluginHibernateSessionFactory
extends Object
implements PluginHibernateSessionFactory
-
Constructor Summary
ConstructorDescriptionSpringPluginHibernateSessionFactory
(org.hibernate.SessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescription@NotNull Connection
@NotNull org.hibernate.Session
Gets the current Hibernate session
-
Constructor Details
-
SpringPluginHibernateSessionFactory
public SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
getSession
@NotNull public @NotNull org.hibernate.Session getSession()Description copied from interface:PluginHibernateSessionFactory
Gets the current Hibernate session- Specified by:
getSession
in interfacePluginHibernateSessionFactory
- Returns:
- the current Hibernate session
-
getConnection
- Specified by:
getConnection
in interfacePluginHibernateSessionFactory
-