dbconfig.properties

jeecg开源平台数据源配置

#SQLServer2005\u4ee5\u4e0a
hibernate.dialect=org.hibernate.dialect.SQLServerDialect
validationQuery.sql=SELECT 1
jdbc.url.jeecg=jdbc:sqlserver://localhost:1433;DatabaseName=jeecg;integratedSecurity=true
#jdbc.username.jeecg=sa
#jdbc.password.jeecg=1qaz2wsx#EDC
jdbc.dbType=sqlserver


#postgresSQL
#hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
#validationQuery.sql=SELECT 1
#jdbc.url.jeecg=jdbc:postgresql://localhost:5432/jeecg
#jdbc.username.jeecg=postgres
#jdbc.password.jeecg=postgres
#jdbc.dbType=postgres

#MySQL
#hibernate.dialect=org.hibernate.dialect.MySQLDialect
#validationQuery.sql=SELECT 1
#jdbc.url.jeecg=jdbc:mysql://localhost:3306/jeecg?useUnicode=true&characterEncoding=UTF-8
#jdbc.username.jeecg=root
#jdbc.password.jeecg=root
#jdbc.dbType=mysql

#Oracle
#hibernate.dialect=org.hibernate.dialect.OracleDialect
#validationQuery.sql=SELECT 1 FROM DUAL
#jdbc.url.jeecg=jdbc:oracle:thin:@192.168.1.200:1521:ORCL
#jdbc.username.jeecg=scott
#jdbc.password.jeecg=tiger
#jdbc.dbType=oracle

#\u66f4\u65b0|\u521b\u5efa|\u9a8c\u8bc1\u6570\u636e\u5e93\u8868\u7ed3\u6784|\u4e0d\u4f5c\u6539\u53d8     \u9ed8\u8ba4update(create,validate,none)
hibernate.hbm2ddl.auto=none

 

posted @ 2018-10-21 21:41  习惯沉淀  阅读(1757)  评论(0编辑  收藏  举报