public class LocalSessionFactoryBeanForTests
extends org.springframework.orm.hibernate3.LocalSessionFactoryBean
| Constructor and Description |
|---|
LocalSessionFactoryBeanForTests() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeSchemaUpdate(org.hibernate.cfg.Configuration config)
Overridden here because hsql doesn't support batched statements.
|
MappingResources |
getMappingResources() |
org.hibernate.cfg.Configuration |
newConfiguration() |
void |
setMappingResources(MappingResources mappingResources) |
afterSessionFactoryCreation, buildSessionFactory, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessConfiguration, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheRegionFactory, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema, validateDatabaseSchemaafterPropertiesSet, beforeSessionFactoryDestruction, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setUseTransactionAwareDataSource, wrapSessionFactoryIfNecessarypublic org.hibernate.cfg.Configuration newConfiguration()
throws org.hibernate.HibernateException
newConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanorg.hibernate.HibernateExceptionprotected void executeSchemaUpdate(org.hibernate.cfg.Configuration config)
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic MappingResources getMappingResources()
public void setMappingResources(MappingResources mappingResources)
mappingResources - The mappingResources to set.Copyright © 2014 Atlassian. All Rights Reserved.