public class LinkedDatabaseConnection extends DatabaseConnectionDecorator
Constructor and Description |
---|
LinkedDatabaseConnection(com.j256.ormlite.support.DatabaseConnection delegate,
RecordingConnectionSource connectionSource) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.j256.ormlite.support.ConnectionSource |
getConnectionSource() |
void |
unlink() |
closeQuietly, commit, compileStatement, delete, executeStatement, getDelegate, insert, isAutoCommit, isAutoCommitSupported, isClosed, isTableExists, queryForLong, queryForLong, queryForOne, rollback, setAutoCommit, setSavePoint, update
public LinkedDatabaseConnection(@Nonnull com.j256.ormlite.support.DatabaseConnection delegate, @Nonnull RecordingConnectionSource connectionSource)
@Nonnull public com.j256.ormlite.support.ConnectionSource getConnectionSource()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class DatabaseConnectionDecorator
IOException
public void unlink()