You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
#Db2
|
|
#hibernate.dialect=org.hibernate.dialect.DB2Dialect
|
|
#jdbc.driverClassName=com.ibm.db2.jcc.DB2Driver
|
|
#jdbc.url=jdbc:db2://localhost:50000/eaching
|
|
|
|
#Oracle
|
|
#hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
|
|
#jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
|
|
#jdbc.url=jdbc:oracle:thin:@47.99.208.214:1521:orcl
|
|
#jdbc.url=jdbc:oracle:thin:@118.190.161.36:1521:orcl
|
|
|
|
#SqlServer
|
|
#hibernate.dialect=org.hibernate.dialect.SQLServerDialect
|
|
#jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver
|
|
#jdbc.url=jdbc:jtds:sqlserver://localhost:1433/guanwaimatou;SelectMethod=Cursor
|
|
|
|
|
|
#MySql
|
|
hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
|
jdbc.driverClassName=com.mysql.jdbc.Driver
|
|
jdbc.url=jdbc:mysql://116.62.210.190:3306/guoyan?autoReconnect=true&useUnicode=true&characterEncoding=UTF8&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull
|
|
|
|
jdbc.username=root
|
|
jdbc.password=Guoyan83086775
|
|
|
|
jdbc.maxConn=20
|
|
jdbc.minConn=5
|
|
jdbc.activeTime=900000
|
|
jdbc.alias=eaching
|
|
jdbc.keepingSleepTime=30000
|
|
jdbc.maxConnectionLifetime=60000
|
|
|
|
jdbc.multiSource=false
|
|
|
|
hibernate.cache.use_second_level_cache=true
|
|
hibernate.show_sql=false
|
|
hibernate.generate_statistics=false
|
|
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
|
|
#hibernate.cache.provider_class=net.oschina.j2cache.hibernate3.J2CacheProvider
|
|
hibernate.cache.use_minimal_puts=true
|
|
hibernate.cache.use_structured_entries=true
|
|
hibernate.cache.use_query_cache=true
|
|
hibernate.use_sql_comments=trues
|
|
hibernate.order_updates=true
|
|
hibernate.format_sql=false
|
|
hbm2ddl.auto=create
|
|
|