oracle&mysql配置
===========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