@Override public void connect( String host, String user, String pass, String base, String port, String options) throws ClassNotFoundException, SQLException { super.connect(host, user, pass, base, port, options); driver = "org.sqlite.JDBC"; }
@Override protected synchronized void _connect() throws ClassNotFoundException, SQLException { super._connect(); Class.forName(driver); System.out.println(System.getProperty("dbPath")); connection = DriverManager.getConnection(getURL(), params.getUser(), params.getPass()); }
@Override public void close() throws SQLException { super.close(); connection = null; }