Class CountingDataSource.CountingConnection.CountingPreparedStatement
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingStatement
-
- com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingPreparedStatement
-
- com.inductiveautomation.ignition.gateway.localdb.CountingDataSource.CountingConnection.CountingPreparedStatement
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.sql.PreparedStatement
,java.sql.Statement
,java.sql.Wrapper
- Enclosing class:
- CountingDataSource.CountingConnection
protected class CountingDataSource.CountingConnection.CountingPreparedStatement extends DelegatingDataSource.DelegatingConnection.DelegatingPreparedStatement
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingStatement
delegateStatement
-
-
Constructor Summary
Constructors Constructor Description CountingPreparedStatement(java.sql.PreparedStatement stmt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onExecute(java.lang.String sql, boolean ret)
protected void
onExecutePrepared(boolean ret)
protected void
onExecutePreparedUpdate(int affected)
void
onExecuteUpdate(java.lang.String sql, int affected)
-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingPreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, onExecutePreparedQuery, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingStatement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, onExecuteQuery, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
-
-
-
Method Detail
-
onExecuteUpdate
public void onExecuteUpdate(java.lang.String sql, int affected)
- Overrides:
onExecuteUpdate
in classDelegatingDataSource.DelegatingConnection.DelegatingStatement
-
onExecute
protected void onExecute(java.lang.String sql, boolean ret)
- Overrides:
onExecute
in classDelegatingDataSource.DelegatingConnection.DelegatingStatement
-
onExecutePreparedUpdate
protected void onExecutePreparedUpdate(int affected)
-
onExecutePrepared
protected void onExecutePrepared(boolean ret)
-
-