org.apache.openjpa.lib.jdbc
protected abstract class JDBCEventConnectionDecorator.EventPreparedStatement extends DelegatingPreparedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps,
JDBCEventConnectionDecorator.EventConnection conn,
String sql) |
Modifier and Type | Method and Description |
---|---|
int[] |
executeBatch() |
protected ResultSet |
executeQuery(boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
int |
executeUpdate() |
addBatch, addBatch, appendInfo, cancel, clearBatch, clearParameters, clearWarnings, close, equals, execute, execute, execute, execute, execute, executeQuery, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, isWrapperFor, newInstance, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString, unwrap, wrapResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML
isClosed, isPoolable, setPoolable
public JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps, JDBCEventConnectionDecorator.EventConnection conn, String sql)
public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
executeUpdate
in class DelegatingPreparedStatement
SQLException
protected ResultSet executeQuery(boolean wrap) throws SQLException
DelegatingPreparedStatement
DelegatingResultSet
, which is the default.executeQuery
in class DelegatingPreparedStatement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
executeBatch
in class DelegatingPreparedStatement
SQLException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.