|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.openjpa.lib.jdbc.DelegatingPreparedStatement
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.CancelPreparedStatement
protected abstract class JDBCStoreManager.CancelPreparedStatement
Statement type that adds and removes itself from the set of active statements so that it can be canceled.
| Field Summary |
|---|
| 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 | |
|---|---|
JDBCStoreManager.CancelPreparedStatement(java.sql.PreparedStatement stmnt,
java.sql.Connection conn)
|
|
| Method Summary | |
|---|---|
int[] |
executeBatch()
|
protected java.sql.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 JDBCStoreManager.CancelPreparedStatement(java.sql.PreparedStatement stmnt,
java.sql.Connection conn)
| Method Detail |
|---|
public int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLException
protected java.sql.ResultSet executeQuery(boolean wrap)
throws java.sql.SQLException
DelegatingPreparedStatementDelegatingResultSet, which is the default.
executeQuery in class DelegatingPreparedStatementjava.sql.SQLException
public int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class DelegatingPreparedStatementjava.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||