org.apache.openjpa.lib.jdbc
protected abstract class JDBCEventConnectionDecorator.EventStatement extends DelegatingStatement
| Constructor and Description |
|---|
JDBCEventConnectionDecorator.EventStatement(java.sql.Statement stmnt,
JDBCEventConnectionDecorator.EventConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
int |
executeUpdate(java.lang.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, wrapResultpublic JDBCEventConnectionDecorator.EventStatement(java.sql.Statement stmnt,
JDBCEventConnectionDecorator.EventConnection conn)
public int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingStatementjava.sql.SQLExceptionprotected java.sql.ResultSet executeQuery(java.lang.String sql,
boolean wrap)
throws java.sql.SQLException
DelegatingStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingStatementjava.sql.SQLException