org.apache.openjpa.lib.jdbc
Class JDBCEventConnectionDecorator.EventStatement
java.lang.Object
   org.apache.openjpa.lib.jdbc.DelegatingStatement
org.apache.openjpa.lib.jdbc.DelegatingStatement
       org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator.EventStatement
org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator.EventStatement
- All Implemented Interfaces: 
- Statement, Wrapper, Closeable
- Enclosing class:
- JDBCEventConnectionDecorator
- protected abstract class JDBCEventConnectionDecorator.EventStatement 
- extends DelegatingStatement
Fires events as appropriate.
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.lib.jdbc.DelegatingStatement | 
| addBatch, appendInfo, cancel, clearBatch, clearWarnings, close, enforceAbstract, equals, executeBatch, executeQuery, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, isClosed, isPoolable, isWrapperFor, newInstance, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, toString, unwrap, wrapResult | 
 
 
JDBCEventConnectionDecorator.EventStatement
public JDBCEventConnectionDecorator.EventStatement(Statement stmnt,
                                                   JDBCEventConnectionDecorator.EventConnection conn)
executeUpdate
public int executeUpdate(String sql)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
executeQuery
protected ResultSet executeQuery(String sql,
                                 boolean wrap)
                          throws SQLException
- Description copied from class: DelegatingStatement
- Execute the query, with the option of not wrapping it in a
 DelegatingResultSet, which is the default.
 
- 
- Overrides:
- executeQueryin class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         int i)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         int[] ia)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         String[] sa)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       int i)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       int[] ia)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       String[] sa)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingStatement
 
- 
- Throws:
- SQLException
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.