A List of JDBC Drivers
IBM DB2
jdbc:db2://
COM.ibm.db2.jdbc.app.DB2Driver
JDBC-ODBC Bridge
jdbc:odbc:
sun.jdbc.odbc.JdbcOdbcDriver
Microsoft SQL Server
jdbc:weblogic:mssqlserver4:
weblogic.jdbc.mssqlserver4.Driver
Oracle Thin
jdbc:oracle:thin:@
oracle.jdbc.driver.OracleDriver
PointBase Embedded Server
jdbc:pointbase://embedded[:
com.pointbase.jdbc.jdbcUniversalDriver
Cloudscape
jdbc:cloudscape:
COM.cloudscape.core.JDBCDriver
Cloudscape RMI
jdbc:rmi://
RmiJdbc.RJDriver
Firebird (JCA/JDBC Driver)
jdbc:firebirdsql:[//
org.firebirdsql.jdbc.FBDriver
IDS Server
jdbc:ids://
ids.sql.IDSDriver
Informix Dynamic Server
jdbc:informix-sqli://
com.informix.jdbc.IfxDriver
InstantDB (v3.13 and earlier)
jdbc:idb:
jdbc.idbDriver
InstantDB (v3.14 and later)
jdbc:idb:
org.enhydra.instantdb.jdbc.idbDriver
Interbase (InterClient Driver)
jdbc:interbase://
interbase.interclient.Driver
Hypersonic SQL (v1.2 and earlier)
jdbc:HypersonicSQL:
hSql.hDriver
Hypersonic SQL (v1.3 and later)
jdbc:HypersonicSQL:
org.hsql.jdbcDriver
Microsoft SQL Server (JTurbo Driver)
jdbc:JTurbo://
com.ashna.jturbo.driver.Driver
Microsoft SQL Server (Sprinta Driver)
jdbc:inetdae:
com.inet.tds.TdsDriver
Microsoft SQL Server 2000 (Microsoft Driver)
jdbc:microsoft:sqlserver://
com.microsoft.jdbc.sqlserver.SQLServerDriver
MySQL (MM.MySQL Driver)
jdbc:mysql://
org.gjt.mm.mysql.Driver
Oracle OCI 8i
jdbc:oracle:oci8:@
oracle.jdbc.driver.OracleDriver
Oracle OCI 9i
jdbc:oracle:oci:@
oracle.jdbc.driver.OracleDriver
PostgreSQL (v6.5 and earlier)
jdbc:postgresql://
postgresql.Driver
PostgreSQL (v7.0 and later)
jdbc:postgresql://
org.postgresql.Driver
Sybase (jConnect 4.2 and earlier)
jdbc:sybase:Tds:
com.sybase.jdbc.SybDriver
Sybase (jConnect 5.2)
jdbc:sybase:Tds:
com.sybase.jdbc2.jdbc.SybDriver
To test your driver once it's installed, try the following code:
{ Class.forName("Driver name"); Connection con = DriverManager.getConnenction("jdbcurl","username","password"); //other manipulation using jdbc commands } catch(Exception e) { }
0 Comments:
Post a Comment
<< Home