Class SessionFactoryProvider
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.bootstrap.SessionFactoryProvider
Factory bean which initializes the hibernate environment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureBootstrapServiceRegistryBuilder
(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder) org.hibernate.SessionFactory
void
setBootstrapContributions
(List<HibernateBootstrapContribution> bootstrapContributions)
-
Constructor Details
-
SessionFactoryProvider
public SessionFactoryProvider()
-
-
Method Details
-
setBootstrapContributions
@Autowired public void setBootstrapContributions(List<HibernateBootstrapContribution> bootstrapContributions) -
sessionFactory
@Bean public org.hibernate.SessionFactory sessionFactory() -
configureBootstrapServiceRegistryBuilder
protected void configureBootstrapServiceRegistryBuilder(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder)
-