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

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

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

上一篇:C++内存泄露检測原理


下一篇:JavaScript代码优化新工具UglifyJS