DAO
--------------------------------------------
Service
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
orderService
transactionInterceptor
class="org.springframework.transaction.interceptor.TransactionInterceptor">
PROPAGATION_REQUIRED,-Exception
PROPAGATION_REQUIRED,-Exception
-----------------------------------------------------
JDBC class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
classpath:jdbc.properties
classpath:config.properties
destroy-method="close">
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
hibernate.dialect=${hibernate.dialect}
hibernate.query.substitutions=true 'Y', false 'N'
hibernate.cache.use_second_level_cache=true
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
hibernate.show_sql=false
hibernate.cache.use_query=true
hibernate.statement_cache.size=25
hibernate.jdbc.fetch_size=50
hibernate.jdbc.batch_size=25
javax.persistence.validation.mode=none
hibernate.connection.release_mode=after_statement
hibernate.auto_commit = false
阅读(1275) | 评论(0) | 转发(0) |