de.suse.lib.sqlmap.drivers
Class ApacheDerbyEmbeddedDriver
java.lang.Object
de.suse.lib.sqlmap.drivers.GenericDriver
de.suse.lib.sqlmap.drivers.ApacheDerbyEmbeddedDriver
- All Implemented Interfaces:
- DBConnectionDriver
public class ApacheDerbyEmbeddedDriver
- extends GenericDriver
Apache Derby in embedded mode.
Methods inherited from class de.suse.lib.sqlmap.drivers.GenericDriver |
close, getConnection, getDatabase, getHost, getPort, getUrl, isConnected, setConnectionCallback, setDatabase, setHost, setPort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheDerbyEmbeddedDriver
public ApacheDerbyEmbeddedDriver(ConnectionInfo info)
throws java.net.URISyntaxException,
java.lang.ClassNotFoundException,
java.sql.SQLException,
java.lang.Exception
- Throws:
java.net.URISyntaxException
java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.Exception
parseURL
protected void parseURL()
throws java.sql.SQLException
- Description copied from class:
GenericDriver
- Parse URL for connect.
- Overrides:
parseURL
in class GenericDriver
- Throws:
java.sql.SQLException
connect
public ApacheDerbyEmbeddedDriver connect(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Description copied from class:
GenericDriver
- Connect to the database.
- Specified by:
connect
in interface DBConnectionDriver
- Overrides:
connect
in class GenericDriver
- Returns:
-
- Throws:
java.lang.Exception