org.apache.openjpa.lib.jdbc
protected abstract class JDBCEventConnectionDecorator.EventPreparedStatement extends DelegatingPreparedStatement
| Constructor and Description |
|---|
JDBCEventConnectionDecorator.EventPreparedStatement(java.sql.PreparedStatement ps,
JDBCEventConnectionDecorator.EventConnection conn,
java.lang.String sql) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
executeBatch() |
protected java.sql.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, wrapResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXMLpublic JDBCEventConnectionDecorator.EventPreparedStatement(java.sql.PreparedStatement ps,
JDBCEventConnectionDecorator.EventConnection conn,
java.lang.String sql)
public int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionprotected java.sql.ResultSet executeQuery(boolean wrap)
throws java.sql.SQLException
DelegatingPreparedStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class DelegatingPreparedStatementjava.sql.SQLException