org.apache.openjpa.lib.jdbc
Class JDBCEventConnectionDecorator.EventPreparedStatement
java.lang.Object
   org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement
       org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator.EventPreparedStatement
org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator.EventPreparedStatement
- All Implemented Interfaces: 
- PreparedStatement, Statement, Wrapper, Closeable
- Enclosing class:
- JDBCEventConnectionDecorator
- protected abstract class JDBCEventConnectionDecorator.EventPreparedStatement 
- extends DelegatingPreparedStatement
Fires events as appropriate.
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement | 
| addBatch, addBatch, appendInfo, cancel, clearBatch, clearParameters, clearWarnings, close, equals, executeQuery, executeQuery, executeQuery, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, isClosed, isPoolable, isWrapperFor, newInstance, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString, unwrap, wrapResult | 
 
 
JDBCEventConnectionDecorator.EventPreparedStatement
public JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps,
                                                           JDBCEventConnectionDecorator.EventConnection conn,
                                                           String sql)
executeUpdate
public int executeUpdate()
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- PreparedStatement
- Overrides:
- executeUpdatein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeQuery
protected ResultSet executeQuery(boolean wrap)
                          throws SQLException
- Description copied from class: DelegatingPreparedStatement
- Execute the query, with the option of not wrapping it in a
 DelegatingResultSet, which is the default.
 
- 
- Overrides:
- executeQueryin class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeBatch
public int[] executeBatch()
                   throws SQLException
- 
- Specified by:
- executeBatchin interface- Statement
- Overrides:
- executeBatchin class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute()
                throws SQLException
- 
- Specified by:
- executein interface- PreparedStatement
- Overrides:
- executein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         int i)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         int[] ia)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
executeUpdate
public int executeUpdate(String sql,
                         String[] sa)
                  throws SQLException
- 
- Specified by:
- executeUpdatein interface- Statement
- Overrides:
- executeUpdatein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       int i)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       int[] ia)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
execute
public boolean execute(String sql,
                       String[] sa)
                throws SQLException
- 
- Specified by:
- executein interface- Statement
- Overrides:
- executein class- DelegatingPreparedStatement
 
- 
- Throws:
- SQLException
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.