de.suse.lib.sqlmap.drivers
Class H2EmbeddedServerDriver

java.lang.Object
  extended by de.suse.lib.sqlmap.drivers.GenericDriver
      extended by de.suse.lib.sqlmap.drivers.H2EmbeddedServerDriver
All Implemented Interfaces:
DBConnectionDriver

public class H2EmbeddedServerDriver
extends GenericDriver


Field Summary
 
Fields inherited from class de.suse.lib.sqlmap.drivers.GenericDriver
callback, connection
 
Constructor Summary
H2EmbeddedServerDriver(ConnectionInfo info)
           
 
Method Summary
 H2EmbeddedServerDriver connect()
           
 H2EmbeddedServerDriver connect(java.lang.String user, java.lang.String password)
          Deprecated. 
 int getPoolSize()
           
protected  void parseURL()
          Parse URL for connect.
 
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
 

Constructor Detail

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
Method Detail

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()