Class WrapperSqlConnection
java.lang.Object
ch.nolix.base.resourcecontrol.resourcepool.AbstractWrapperResource<WrapperSqlConnection, AbstractSqlConnection>
ch.nolix.base.sql.connectionpool.WrapperSqlConnection
- All Implemented Interfaces:
Closeable, CloseStateRequestable, GroupCloseable, ISqlConnection, AutoCloseable
public final class WrapperSqlConnection
extends AbstractWrapperResource<WrapperSqlConnection, AbstractSqlConnection>
implements ISqlConnection
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteStatement(String statement) voidexecuteStatements(IContainer<String> statements) voidexecuteStatements(String... statements) static WrapperSqlConnectionforSqlConnection(AbstractSqlConnection abstractSqlConnection) getRecordsFromQuery(String query) getSingleRecordFromQuery(String query) Methods inherited from class AbstractWrapperResource
getStoredCloseController, noteCloseMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteClose
-
Method Details
-
forSqlConnection
-
executeStatement
- Specified by:
executeStatementin interfaceISqlConnection
-
executeStatements
- Specified by:
executeStatementsin interfaceISqlConnection
-
executeStatements
- Specified by:
executeStatementsin interfaceISqlConnection
-
getDatabaseEngine
- Specified by:
getDatabaseEnginein interfaceISqlConnection
-
getRecordsFromQuery
- Specified by:
getRecordsFromQueryin interfaceISqlConnection
-
getSingleRecordFromQuery
- Specified by:
getSingleRecordFromQueryin interfaceISqlConnection
-