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() |
getStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatuspublic ConnectionProviderImpl(SQLiteConnectionParameters connectionParameters)
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface ConnectionProviderjava.sql.SQLExceptionpublic void registerDriver()
throws java.sql.SQLException
registerDriver in interface ConnectionProviderjava.sql.SQLExceptionpublic void dispose()
DisposableNOTE:After calling this method, the object may not be usable anymore.
dispose in interface Disposablepublic boolean isDisposed()
isDisposed in interface ConnectionProviderisDisposed in class AbstractConnectionProvider