初始化
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
c3p0.driverClassName=com.mysql.jdbc.Driver
|
||||
c3p0.url=jdbc\:mysql\://localhost\:3306/myfishdb?characterEncoding\=UTF-8
|
||||
c3p0.username=ifish
|
||||
c3p0.password=ifish7pwd
|
||||
#c3p0.username=root
|
||||
#c3p0.password=123456
|
||||
|
||||
c3p0.autoCommitOnClose=true
|
||||
c3p0.initialPoolSize=20
|
||||
c3p0.minPoolSize=20
|
||||
c3p0.maxPoolSize=100
|
||||
c3p0.acquireIncrement=3
|
||||
|
||||
c3p0.checkoutTimeout=5000
|
||||
c3p0.maxIdleTime=7200
|
||||
c3p0.idleConnectionTestPeriod=18000
|
||||
#c3p0.maxIdleTimeExcessConnections=1800
|
||||
|
||||
#c3p0.automaticTestTable=C3P0TestTable
|
||||
#c3p0.testConnectionOnCheckout=false
|
||||
#c3p0.testConnectionOnCheckin=false
|
||||
|
||||
#org.hibernate.dialect.MySQLInnoDBDialect
|
||||
hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
||||
hibernate.show_sql=false
|
||||
hibernate.format_sql=true
|
||||
hibernate.hbm2ddl.auto=false
|
||||
hibernate.jdbc.batch_size=50
|
||||
hibernate.query.substitutions=true 1,false 0
|
||||
hibernate.cache.use_second_level_cache=false
|
||||
hibernate.cache.use_query_cache=false
|
||||
hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
|
||||
Reference in New Issue
Block a user