各種資料庫的JDBC鏈結

2021-04-29 18:00:36 字數 3456 閱讀 3050

jdbc

:microsoft:sqlserver

://localhost:1433;databasename=northwind

com.microsoft.jdbc

.sqlserver

.sqlserverdriver

msbase.jar;mssqlserver.jar;msutil.jar

download

l

jdbc

:sqlserver

://servernameinstance:port[;user=value][;password=value][;property=value]

com.microsoft.sqlserver

.jdbc

.sqlserverdriver

sqljdbc.jar

download sql server 2005 driver

jdbc

:jturbo://:/

com.ashna.jturbo.driver.driver

jdbc

:inetdae7::?database=

com.inet.tds.tdsdrive

download

jdbc

:cloudscape:mydatabase

com.cloudscape.core.jdbcdriver

jdbc

:rmi://hostname:portnumber/jdbc

:cloudscape:mydatabase

rmijdbc.rjdriver

jdbc

:hsqldb:hsql://localhost

org.hsqldb.jdbcdriver

hsqldb.jar

download (sourceforge)

jdbc

:hsqldb:file:/opt/db/testdb

org.hsqldb.jdbcdriver

hsqldb.jar

jdbc

:hsqldb:mem:aname

org.hsqldb.jdbcdriver

hsqldb.jar

jdbc

:h2:test

jdbc

:h2:tcp://localhost:9092/test

jdbc

:h2:tcp://localhost:9092,backuphost.com:9092/test

jdbc

:h2:[name] | [file:]filename | :[//]server[:port][,server2[:port]]/name }[;key=value...]

jdbc

:informix-sqli://hostname:portnumber/mydatabase:informixserver=myservername

com.informix.jdbc

.ifxdriver

jdbc

:mysql:///test

jdbc

:mysql://[host][,failoverhost...][:port]/[database][?propertyname1][=propertyvalue1][&propertyname2][=propertyvalue2]...

com.mysql.jdbc

.driver

jdbc

:oracle:thin:@localhost:1521:mydatabase

oracle.jdbc

.driver.oracledriver

classes12.zip

jdbc

:postgresql:template1

org.postgresql.driver

jdbc

:db2:test

com.ibm.db2.jdbcjdbc

:timesten:direct:test

com.timesten.jdbc

.timestendriver

jdbc

:db2://systemname

com.ibm.db2.jdbcjdbc

:as400://systemname

com.ibm.as400.access.as400jdbcdriver

jdbc

:derby:/test;create=true

org.apache.derby.jdbc

.embeddeddriver

jdbc

:sybase:tds:localhost:2048/mydatabase

com.sybase.jdbc2.jdbc

.sybdriver

jconn2.jar

download

jdbc

:mckoi:local://c:/mckoi1.0.3/db.conf

com.mckoi.jdbcdriver

jdbc

:sapdb://localhost/tst

com.sap.dbtech.jdbc

.driversapdb

jdbc

:jsqlconnect://localhost/test

com.jnetdirect.jsql.jsqldriver

jdbc

:jturbo://localhost:1433/test

com.newatlanta.jturbo.driver.driver

jdbc

:jtds:sqlserver

://localhost/test

net.sourceforge.jtds.jdbc

.driver

jdbc

:firebirdsql:localhost/3050:/firebird/test.gdb

org.firebirdsql.jdbc

.fbdriver

jdbc

:interbase://localhost:3060/c:/firebird/test.gdb

interbase.interclient.driver

jdbc

:pointbase:embedded:sample

com.pointbase.jdbc

.jdbcuniversaldriver

ca.edbc.jdbc .edbcdriver

jdbc :edbc://localhost:ii7/database

jdbc

:mimer:multi1

com.mimer.jdbc

.driver

JDBC連線各種資料庫

1 oracle8 8i 9i資料庫 thin模式 class.forname oracle.jdbc.driver.oracledriver newinstance string url jdbc oracle thin localhost 1521 orcl orcl為資料庫的sid strin...

JDBC連線各種資料庫

1 oracle8 8i 9i資料庫 thin模式 class.forname oracle.jdbc.driver.oracledriver newinstance string url jdbc oracle thin localhost 1521 orcl orcl為資料庫的sid strin...

JDBC連線各種資料庫

下文中羅列了各種資料庫使用jdbc連線的方式,大家可以將其作為乙個手冊使用。1 oracle8 8i 9i資料庫 thin模式 class.forname oracle.jdbc.driver.oracledriver newinstance string url jdbc oracle thin ...