public static class H2SpatialHelper.H2SpatialConnectionProvider extends AbstractConnectionProvider implements ConnectionProvider
Constructor and Description |
---|
H2SpatialConnectionProvider(H2SpatialConnectionParameters connectionParameters) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
java.sql.Connection |
getConnection() |
H2SpatialConnectionParameters |
getConnectionParameters() |
java.lang.String |
getStatus() |
boolean |
isDisposed() |
void |
registerDriver() |
void |
shutdown() |
java.lang.String |
toString() |
public H2SpatialConnectionProvider(H2SpatialConnectionParameters connectionParameters)
public H2SpatialConnectionParameters getConnectionParameters()
public java.lang.String getStatus()
getStatus
in interface ConnectionProvider
getStatus
in class AbstractConnectionProvider
public void shutdown()
public java.lang.String toString()
toString
in class java.lang.Object
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface ConnectionProvider
java.sql.SQLException
public void registerDriver() throws java.sql.SQLException
registerDriver
in interface ConnectionProvider
java.sql.SQLException
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable
public boolean isDisposed()
isDisposed
in interface ConnectionProvider
isDisposed
in class AbstractConnectionProvider