Package io.dropwizard.hibernate
Class SessionFactoryFactory
java.lang.Object
io.dropwizard.hibernate.SessionFactoryFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.SessionFactory
build
(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, ManagedDataSource dataSource, List<Class<?>> entities) org.hibernate.SessionFactory
build
(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, List<Class<?>> entities) org.hibernate.SessionFactory
build
(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, List<Class<?>> entities, String name) protected void
configure
(org.hibernate.cfg.Configuration configuration, org.hibernate.service.ServiceRegistry registry) protected org.hibernate.boot.registry.BootstrapServiceRegistryBuilder
configureBootstrapServiceRegistryBuilder
(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder)
-
Constructor Details
-
SessionFactoryFactory
public SessionFactoryFactory()
-
-
Method Details
-
build
public org.hibernate.SessionFactory build(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, List<Class<?>> entities) -
build
public org.hibernate.SessionFactory build(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, List<Class<?>> entities, String name) -
build
public org.hibernate.SessionFactory build(HibernateBundle<?> bundle, Environment environment, PooledDataSourceFactory dbConfig, ManagedDataSource dataSource, List<Class<?>> entities) -
configure
protected void configure(org.hibernate.cfg.Configuration configuration, org.hibernate.service.ServiceRegistry registry) -
configureBootstrapServiceRegistryBuilder
protected org.hibernate.boot.registry.BootstrapServiceRegistryBuilder configureBootstrapServiceRegistryBuilder(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder)
-