de.suse.lib.sqlmap.drivers
Class H2EmbeddedServerDriver
java.lang.Object
de.suse.lib.sqlmap.drivers.GenericDriver
de.suse.lib.sqlmap.drivers.H2EmbeddedServerDriver
- All Implemented Interfaces:
- DBConnectionDriver
public class H2EmbeddedServerDriver
- extends GenericDriver
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 |
H2EmbeddedServerDriver
public H2EmbeddedServerDriver(ConnectionInfo info)
throws java.net.URISyntaxException,
java.sql.SQLException,
java.lang.Exception
- Throws:
java.net.URISyntaxException
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
@Deprecated
public H2EmbeddedServerDriver connect(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Deprecated.
- 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
connect
public H2EmbeddedServerDriver connect()
throws java.sql.SQLException,
java.lang.Exception
- Throws:
java.sql.SQLException
java.lang.Exception
getPoolSize
public int getPoolSize()