org.apache.openjpa.lib.jdbc
protected abstract class JDBCEventConnectionDecorator.EventStatement extends DelegatingStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
JDBCEventConnectionDecorator.EventStatement(Statement stmnt,
JDBCEventConnectionDecorator.EventConnection conn) |
Modifier and Type | Method and Description |
---|---|
protected ResultSet |
executeQuery(String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
int |
executeUpdate(String sql) |
addBatch, appendInfo, cancel, clearBatch, clearWarnings, close, enforceAbstract, equals, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, isWrapperFor, newInstance, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, toString, unwrap, wrapResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isClosed, isPoolable, setPoolable
public JDBCEventConnectionDecorator.EventStatement(Statement stmnt, JDBCEventConnectionDecorator.EventConnection conn)
public int executeUpdate(String sql) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class DelegatingStatement
SQLException
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException
DelegatingStatement
DelegatingResultSet
, which is the default.executeQuery
in class DelegatingStatement
SQLException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.