Class AbstractSqlConnection
java.lang.Object
ch.nolix.base.sql.connection.AbstractSqlConnection
- All Implemented Interfaces:
Closeable, CloseStateRequestable, GroupCloseable, ISqlConnection, AutoCloseable
- Direct Known Subclasses:
MsSqlConnection
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionfinal voidexecuteStatement(String statement) final voidexecuteStatements(IContainer<String> statements) final voidexecuteStatements(String... statements) final SqlDatabaseEnginefinal IContainer<ISqlRecord> getRecordsFromQuery(String query) final ISqlRecordgetSingleRecordFromQuery(String query) final ICloseControllerfinal voidLets the currentGroupCloseablenote a close.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, isClosed
-
Method Details
-
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
-
getStoredCloseController
- Specified by:
getStoredCloseControllerin interfaceGroupCloseable- Returns:
- the
ICloseControllerof the currentGroupCloseable.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Specified by:
noteClosein interfaceGroupCloseable
-