WebRoot/WEB-INF/classes/jdbc.properties

(完整代码) 1KB

########################################
########     database configuration     #######
#######################################
##driver
jdbc.driver=com.mysql.jdbc.Driver
##url
jdbc.url=jdbc:mysql://47.99.56.181:3307/book
##username
jdbc.username=root
##password
jdbc.password=123456


########################################
########     c3p0 configuration     #######
#######################################

## initialPoolSize Default: 3
c3p0.initialPoolSize=3
##minPoolSize Default: 3
c3p0.minPoolSize=2
##maxPoolSize Default: 15
c3p0.maxPoolSize=10
##maxIdleTime(s), (<mysql 28800) Default: 0
c3p0.maxIdleTime=28000
##idleConnectionTestPeriod(s), (<mysql 28800) Default: 0
c3p0.idleConnectionTestPeriod=3600




########################################
########     hibernate configuration     #######
#######################################

##hibernate dialect
hibernate.dialect=org.hibernate.dialect.MySQLDialect
#hibernate.dialect=org.hibernate.dialect.SQLServerDialect
#hibernate.dialect=org.hibernate.dialect.OracleDialect

##show sql
hibernate.show_sql=true
##format sql
hibernate.format_sql=false
##connection use unicode
hibernate.connection.useUnicode=true
##connection encoding
hibernate.connection.characterEncoding=utf8

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。