Class AbstractTopiaPersistenceContext.InternalTopiaHibernateSupport
java.lang.Object
org.nuiton.topia.persistence.internal.AbstractTopiaPersistenceContext.InternalTopiaHibernateSupport
- All Implemented Interfaces:
TopiaHibernateSupport
- Enclosing class:
- AbstractTopiaPersistenceContext
protected class AbstractTopiaPersistenceContext.InternalTopiaHibernateSupport
extends Object
implements TopiaHibernateSupport
This subclass of TopiaHibernateSupport is made to be used only internally within this persistence context. This
class only acts as an information container (as a structure does).
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInternalTopiaHibernateSupport(HibernateProvider hibernateProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.cfg.Configurationorg.hibernate.SessionFactoryorg.hibernate.boot.Metadataorg.hibernate.SessionvoidsetHibernateSession(org.hibernate.Session hibernateSession)
-
Field Details
-
hibernateProvider
-
hibernateSession
protected org.hibernate.Session hibernateSession
-
-
Constructor Details
-
InternalTopiaHibernateSupport
-
-
Method Details
-
setHibernateSession
public void setHibernateSession(org.hibernate.Session hibernateSession) -
getHibernateSession
public org.hibernate.Session getHibernateSession()- Specified by:
getHibernateSessionin interfaceTopiaHibernateSupport- Returns:
- Returns the Hibernate's Session.
-
getHibernateFactory
public org.hibernate.SessionFactory getHibernateFactory()- Specified by:
getHibernateFactoryin interfaceTopiaHibernateSupport- Returns:
- Returns the HibernateFactory.
-
getHibernateMetadata
public org.hibernate.boot.Metadata getHibernateMetadata()- Specified by:
getHibernateMetadatain interfaceTopiaHibernateSupport- Returns:
- Returns the Hibernate's Metadata.
-
getHibernateConfiguration
public org.hibernate.cfg.Configuration getHibernateConfiguration()- Specified by:
getHibernateConfigurationin interfaceTopiaHibernateSupport- Returns:
- Returns the Hibernate configuration
-