springmvc3.2+spring+hibernate4全注解方式整合(二)

时间:2014-07-07 12:43:02   收藏:0   阅读:184

jdbc.properties

#hibernate settings 
hibernate.show_sql=true
hibernate.format_sql=true
hibernate.cache.use_query_cache=true
hibernate.cache.provider_class=net.sf.ehcache.hibernate.SingletonEhCacheProvider  

#mysql version database setting
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/shmvc?useUnicode=true&characterEncoding=utf-8
jdbc.username=root
jdbc.password=admin
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
#org.hibernate.dialect.MySQL5Dialect
cpool.checkoutTimeout=5000
# Connection pool size
cpool.minPoolSize=5
cpool.maxPoolSize=10
cpool.maxIdleTime=1200
cpool.maxIdleTimeExcessConnections=1800
cpool.acquireIncrement=5

 

springmvc3.2+spring+hibernate4全注解方式整合(二),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!