public static class SQLiteHelper.ConnectionProviderImpl extends AbstractConnectionProvider implements ConnectionProvider
Constructor and Description |
---|
ConnectionProviderImpl(SQLiteConnectionParameters 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() |
boolean |
isDisposed() |
void |
registerDriver() |
getStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
public ConnectionProviderImpl(SQLiteConnectionParameters connectionParameters)
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