public class ConfigurableLocalSessionFactoryBean
extends org.springframework.orm.hibernate5.LocalSessionFactoryBean
HibernateConfig
Some other configuration is done through HibernateEventListenersIntegrator
Constructor and Description |
---|
ConfigurableLocalSessionFactoryBean(org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider> connectionProviderInitiator) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected org.hibernate.SessionFactory |
buildSessionFactory(org.springframework.orm.hibernate5.LocalSessionFactoryBuilder sfb) |
void |
setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig) |
destroy, getConfiguration, getHibernateProperties, getMetadataSources, getObject, getObjectType, getResourceLoader, isSingleton, setAnnotatedClasses, setAnnotatedPackages, setBootstrapExecutor, setCacheableMappingLocations, setConfigLocation, setConfigLocations, setCurrentTenantIdentifierResolver, setDataSource, setEntityInterceptor, setEntityTypeFilters, setHibernateProperties, setImplicitNamingStrategy, setJtaTransactionManager, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setMetadataSources, setMultiTenantConnectionProvider, setPackagesToScan, setPhysicalNamingStrategy, setResourceLoader
public ConfigurableLocalSessionFactoryBean(org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider> connectionProviderInitiator)
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
public void afterPropertiesSet() throws IOException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
IOException
protected org.hibernate.SessionFactory buildSessionFactory(org.springframework.orm.hibernate5.LocalSessionFactoryBuilder sfb)
buildSessionFactory
in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
Copyright © 2019 Atlassian. All rights reserved.