public class StandardPreparedStatement extends CorePreparedStatement implements StatementEventListener
| Modifier and Type | Field and Description |
|---|---|
boolean |
closed |
Object |
key |
psCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
void |
catchInvoke(SQLException sqlException)
Exception management : catch or throw the exception
|
void |
close()
Close this statement.
|
void |
preInvoke()
Pre-invokation of the delegation, in case of the Statement is
closed, we throw an exception
|
void |
statementClosed(StatementEvent event) |
void |
statementErrorOccurred(StatementEvent event) |
addBatch, addBatch, cancel, clearBatch, clearParameters, clearWarnings, closeOnCompletion, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLogger, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic Object key
public boolean closed
public void close()
throws SQLException
close in interface AutoCloseableclose in interface Statementclose in class CorePreparedStatementSQLExceptionpublic void preInvoke()
throws SQLException
preInvoke in class CorePreparedStatementSQLExceptionpublic void catchInvoke(SQLException sqlException) throws SQLException
catchInvoke in class CorePreparedStatementSQLExceptionpublic void statementClosed(StatementEvent event)
statementClosed in interface StatementEventListenerpublic void statementErrorOccurred(StatementEvent event)
statementErrorOccurred in interface StatementEventListenerCopyright © 2014–2015. All rights reserved.