hibernate.properties

来自「The ability to create groups of reports,」· PROPERTIES 代码 · 共 36 行

PROPERTIES
36
字号
hibernate.dialect net.sf.hibernate.dialect.MySQLDialect
#hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
#hibernate.dialect net.sf.hibernate.dialect.HSQLDialect
     
#PostgreSQL connection properties        
#hibernate.connection.driver_class=org.postgresql.Driver
#hibernate.connection.url=jdbc:postgresql://localhost:5432/openreports
#hibernate.connection.username=
#hibernate.connection.password=
   
# MySQL connection properties
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.url=jdbc:mysql://localhost/oreports
hibernate.connection.username=
hibernate.connection.password=

# JNDI connection properties
#hibernate.connection.datasource=java:comp/env/jdbc/OrDb
        
# Commons-DBCP connection pool properties
hibernate.dbcp.maxActive=5
hibernate.dbcp.whenExhaustedAction=1
hibernate.dbcp.maxWait=5000
hibernate.dbcp.maxIdle=2
hibernate.dbcp.ps.maxActive=5
hibernate.dbcp.ps.whenExhaustedAction=1
hibernate.dbcp.ps.maxWait=5000
hibernate.dbcp.ps.maxIdle=5
hibernate.dbcp.validationQuery=select 1
hibernate.dbcp.testOnBorrow=true
hibernate.dbcp.testOnReturn=false

hibernate.cglib.use_reflection_optimizer=false
              
      

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?