| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate3.LocalSessionFactoryBean
magoffin.matt.ma2.dao.hbm.LocalSessionFactoryBean
public class LocalSessionFactoryBean
Extension of Spring's LocalSessionFactoryBean to add support for registering custom SQL functions.
The configurable properties of this class are:
SQLFunction so that custom SQL functions can be configured.
| Field Summary | 
|---|
| Fields inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean | 
|---|
| logger | 
| Constructor Summary | |
|---|---|
| LocalSessionFactoryBean() | |
| Method Summary | |
|---|---|
|  java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> | getSqlFunctions() | 
| protected  void | postProcessConfiguration(org.hibernate.cfg.Configuration config) | 
|  void | setSqlFunctions(java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> sqlFunctions) | 
| Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean | 
|---|
| afterPropertiesSet, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, getObject, getObjectType, getTransactionAwareSessionFactoryProxy, isSingleton, newConfiguration, newSessionFactory, setCacheableMappingLocations, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setDataSource, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setExposeTransactionAwareSessionFactory, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, setUseTransactionAwareDataSource, updateDatabaseSchema | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LocalSessionFactoryBean()
| Method Detail | 
|---|
protected void postProcessConfiguration(org.hibernate.cfg.Configuration config)
                                 throws org.hibernate.HibernateException
postProcessConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanorg.hibernate.HibernateExceptionpublic java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> getSqlFunctions()
public void setSqlFunctions(java.util.Map<java.lang.String,org.hibernate.dialect.function.SQLFunction> sqlFunctions)
sqlFunctions - the sqlFunctions to set| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||