Type 1 - Use Class.forName(driverClass) to load the JDBC driver and use
DriverManager.getConnection(String url, String user, String password) to get a connection
Type 2 - Use Class.forName(driverClass) to load the JDBC driver and use
DriverManager.getConnection(String url, Properties info) to get a connection, where:
Properties info = new Properties();
info.put("user", userid);
info.put("password", password);
Type 3 -Use Class.forName(driverClass) to load the JDBC driver and use DriverManager.getConnection(String url) to get a connection
weblogic.jdbc.mssqlserver4.Driver - Use WebLogic jDriver for Microsoft SQL Server
sybase_jconnect_v4 - Use JConnect version 4 for Sybase Adaptive servers
sybase_jconnect_v5 - Use JConnect version 5 for Sybase Adaptive servers
sybase_jconnect_v6 - Use JConnect version 6 for Sybase Adaptive servers
org.gjt.mm.mysql.Driver - Use MM.MySQL Type 4 JDBC driver for MySQL
|