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

 

相关文章:

  • 2018-12-26
  • 2022-12-23
  • 2021-12-28
  • 2022-02-25
  • 2021-05-17
  • 2021-11-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-06-15
  • 2021-11-29
相关资源
相似解决方案