DB2,Mysql,Oracle,SQLServer jdbc

db2:
jdbcDriver=com.ibm.db2.jcc.DB2Driver
url=jdbc:db2://<host>:<port> /<database>;(jdbc:db2://localhost:50000/sample)

Mysql:
jdbcDriver=com.mysql.jdbc.Driver
url=jdbc:mysql<host>:<port>/<database>

Oracle:
jdbcDriver=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@192.168.1.65:1521:ORCL

SQLServer:
jdbcDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver
url=jdbc:sqlserver://<host>:<port>;databasename=<database>;selectMethod=cursor


你可能感兴趣的:(DB2,Mysql,Oracle,SQLServer jdbc)