标签:connect driver pen mys AC 1.4 1.2 ott user
===========pom.xml===========
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.4</version>
</dependency>
<dependency>
<groupId>com.mysql.jdbc</groupId>
<artifactId>connector</artifactId>
<version>5.1.45</version>
<classifier>bin</classifier>
</dependency>
===========db.properties==========
driver=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@localhost:1521:orcl
dbuser=scott
dbpwd=tiger
#driver=com.mysql.jdbc.Driver
#url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8
#dbuser=root
#dbpwd=root
标签:connect driver pen mys AC 1.4 1.2 ott user
原文地址:https://www.cnblogs.com/lljboke/p/8747452.html