|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator.EventPreparedStatement
protected abstract class JDBCEventConnectionDecorator.EventPreparedStatement
Fires events as appropriate.
Field Summary |
---|
Fields inherited from class org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement |
---|
concreteImpl |
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Constructor Summary | |
---|---|
JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps,
JDBCEventConnectionDecorator.EventConnection conn,
String sql)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.sql.PreparedStatement |
---|
setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML |
Methods inherited from interface java.sql.Statement |
---|
isClosed, isPoolable, setPoolable |
Constructor Detail |
---|
public JDBCEventConnectionDecorator.EventPreparedStatement(PreparedStatement ps, JDBCEventConnectionDecorator.EventConnection conn, String sql)
Method Detail |
---|
public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
executeUpdate
in class DelegatingPreparedStatement
SQLException
protected ResultSet executeQuery(boolean wrap) throws SQLException
DelegatingPreparedStatement
DelegatingResultSet
, which is the default.
executeQuery
in class DelegatingPreparedStatement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
executeBatch
in class DelegatingPreparedStatement
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |