DB2
driverClassName:com.ibm.db2.jcc.DB2Driver
url:jdbc:db2://localhost:50000/sample
Oracle
driverClassName:oracle.jdbc.driver.OracleDriver
url:jdbc:oracle:thin:@localhost:1521:orcl
MySql
driverClassName:com.mysql.jdbc.Driver
url:jdbc:mysql://localhost:3306/test
H2
driverClassName:org.h2.Driver
url:jdbc:h2:tcp://localhost/~/test
原文地址:https://www.cnblogs.com/suheng/p/9222593.html
时间: 2024-11-10 13:12:06