public class EntitySeekingSessionFactoryBean
extends org.springframework.orm.hibernate5.LocalSessionFactoryBean
| Constructor and Description |
|---|
EntitySeekingSessionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
static org.hibernate.cfg.Configuration |
getConfiguration(org.hibernate.SessionFactory sessionFactory) |
void |
setAnnotatedClasses(Class<?>... annotatedClasses) |
void |
setSessionSourceKey(String sessionSourceKey) |
buildSessionFactory, destroy, getConfiguration, getHibernateProperties, getMetadataSources, getObject, getObjectType, getResourceLoader, isSingleton, setAnnotatedPackages, setBootstrapExecutor, setCacheableMappingLocations, setConfigLocation, setConfigLocations, setCurrentTenantIdentifierResolver, setDataSource, setEntityInterceptor, setEntityTypeFilters, setHibernateProperties, setImplicitNamingStrategy, setJtaTransactionManager, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setMetadataSources, setMultiTenantConnectionProvider, setPackagesToScan, setPhysicalNamingStrategy, setResourceLoaderpublic static org.hibernate.cfg.Configuration getConfiguration(org.hibernate.SessionFactory sessionFactory)
public void setSessionSourceKey(String sessionSourceKey)
public void setAnnotatedClasses(Class<?>... annotatedClasses)
setAnnotatedClasses in class org.springframework.orm.hibernate5.LocalSessionFactoryBeanpublic void afterPropertiesSet()
throws IOException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.orm.hibernate5.LocalSessionFactoryBeanIOExceptionCopyright © 2017. All rights reserved.