2016/9/7 jdbc.properties配置数据库相关

##MySQL
#jdbc.driver=com.mysql.jdbc.Driver
#jdbc.url=jdbc:mysql://localhost:3306/test
#jdbc.username=root
#jdbc.password=xxx
#hibernate.dialect=org.hibernate.dialect.MySQLDialect
#hibernate.show_sql=false

##Oracle
jdbc.driver=oracle.jdbc.driver.OracleDriver

jdbc.url=jdbc\:oracle\:thin\:@192.168.X.XXX\:1521\:orcl
jdbc.username=xxx
jdbc.password=xxx
hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
hibernate.show_sql=true

posted on 2016-09-07 09:04  swustqiu  阅读(162)  评论(0编辑  收藏  举报

导航