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, wrapResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXMLisClosed, isPoolable, setPoolablepublic JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps, JDBCEventConnectionDecorator.EventConnection conn, String sql)
public int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementexecuteUpdate in class DelegatingPreparedStatementSQLExceptionprotected ResultSet executeQuery(boolean wrap) throws SQLException
DelegatingPreparedStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingPreparedStatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementexecuteBatch in class DelegatingPreparedStatementSQLExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.