Class SpringPluginHibernateSessionFactory
- java.lang.Object
-
- com.atlassian.bamboo.persistence3.SpringPluginHibernateSessionFactory
-
- All Implemented Interfaces:
PluginHibernateSessionFactory
public class SpringPluginHibernateSessionFactory extends Object implements PluginHibernateSessionFactory
-
-
Constructor Summary
Constructors Constructor Description SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Connection
getConnection()
@NotNull org.hibernate.Session
getSession()
Gets the current Hibernate session
-
-
-
Method Detail
-
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
@NotNull public @NotNull Connection getConnection()
- Specified by:
getConnection
in interfacePluginHibernateSessionFactory
-
-