public class JUnitPreparedStatementImpl extends PreparedStatementImpl
connectionCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
JUnitPreparedStatementImpl(ConnectionImpl conn,
PreparedStatement statement,
String query) |
| Modifier and Type | Method and Description |
|---|---|
void |
setError(boolean hasError)
Allows to force each execution to throw a SQLException.
|
protected ResultSet |
wrapResultSet(ResultSet real)
returns a wrapped ResultSet
|
addBatch, assembleQueryFromPreparedStatement, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, getPreparedQueryWithoutStackTrace, getPrepStmtPassthruString, getResultSet, isLoggingActivated, isPoolable, 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, setPoolable, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLaddBatch, addToLogBatchStatements, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isFlexibleSyntax, isWrapperFor, notifyResultSetClosed, releaseResourceImpl, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, unwrapaddResource, releaseResources, removeResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, 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, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeoutisWrapperFor, unwrappublic JUnitPreparedStatementImpl(ConnectionImpl conn, PreparedStatement statement, String query)
public void setError(boolean hasError)
hasError - protected ResultSet wrapResultSet(ResultSet real) throws SQLException
StatementImplwrapResultSet in class StatementImplSQLExceptionCopyright © 2017 SAP SE. All Rights Reserved.