修改日志打印

This commit is contained in:
yiyan
2018-03-31 20:23:41 +08:00
parent 7b197f8cd0
commit ce4d9063a8
9 changed files with 213 additions and 103 deletions
+51 -22
View File
@@ -1,29 +1,58 @@
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
jdbc.driver=com.mysql.jdbc.Driver
#jdbc.url=jdbc\:mysql\://localhost\:3306/myfishdb?characterEncoding\=UTF-8
jdbc.url=jdbc\:mysql\://139.196.24.156\:3306/myfishdb?characterEncoding\=UTF-8
#jdbc.username=ifish
#jdbc.password=ifish7pwd
jdbc.username=root
jdbc.password=ifish7mysql
#jdbc.testWhileIdle=true
jdbc.validationQuery=SELECT * FROM DUAL
initialSize=1
minIdle=1
maxActive=20
maxWait=60000
timeBetweenEvictionRunsMillis=60000
minEvictableIdleTimeMillis=300000
poolPreparedStatements=true
maxPoolPreparedStatementPerConnectionSize=20
removeAbandonedTimeout=1800
c3p0.autoCommitOnClose=true
c3p0.initialPoolSize=20
c3p0.minPoolSize=20
c3p0.maxPoolSize=50
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
#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=50
#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