3 import java.sql.Connection;
4 import java.sql.Driver;
5 import java.sql.DriverPropertyInfo;
6 import java.sql.SQLException;
7 import java.sql.SQLFeatureNotSupportedException;
8 import java.util.Properties;
9 import java.util.logging.Logger;
11 public class JDBCDriver extends JDBC implements Driver {
13 public static final int MAJORVERSION = 1;
15 public static boolean sharedCache = false;
17 public static String vfs = null;
19 private static java.lang.reflect.Constructor makeConn = null;
21 protected Connection conn;
25 java.sql.DriverManager.registerDriver(new JDBCDriver());
26 } catch (java.lang.Exception e) {
27 System.err.println(e);
34 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
36 DriverPropertyInfo p[] = new DriverPropertyInfo[4];
37 DriverPropertyInfo pp = new DriverPropertyInfo("encoding", "");
39 pp = new DriverPropertyInfo("password", "");
41 pp = new DriverPropertyInfo("daterepr", "normal");
43 pp = new DriverPropertyInfo("vfs", vfs);
48 public boolean jdbcCompliant() {
52 public Logger getParentLogger() throws SQLFeatureNotSupportedException {
53 throw new SQLFeatureNotSupportedException();