|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.queries.DatabaseQuery
org.eclipse.persistence.queries.ModifyQuery
org.eclipse.persistence.queries.DataModifyQuery
public class DataModifyQuery
Purpose: Concrete class used for executing non selecting SQL strings.
Responsibilities:
Field Summary | |
---|---|
protected boolean |
hasModifyRow Used to distinguish query that have a different modify row than translation row. |
Fields inherited from class org.eclipse.persistence.queries.ModifyQuery |
---|
forceBatchStatementExecution, modifyRow |
Constructor Summary | |
---|---|
DataModifyQuery() |
|
DataModifyQuery(Call call) |
|
DataModifyQuery(java.lang.String sqlString) Warning: Allowing an unverified SQL string to be passed into this method makes your application vulnerable to SQL injection attacks. |
Method Summary | |
---|---|
java.lang.Object |
executeDatabaseQuery() INTERNAL: Perform the work to execute the SQL call. |
boolean |
hasModifyRow() Return if a modify row has been set. |
boolean |
isDataModifyQuery() PUBLIC: Return if this is a data modify query. |
protected void |
prepare() INTERNAL: Prepare the receiver for execution in a session. |
void |
prepareForExecution() INTERNAL: Prepare the receiver for execution in a session. |
void |
setHasModifyRow(boolean hasModifyRow) Set if a modify row has been set. |
Methods inherited from class org.eclipse.persistence.queries.ModifyQuery |
---|
forceBatchStatementExecution, getModifyRow, isModifyQuery, setForceBatchStatementExecution, setModifyRow |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean hasModifyRow
Constructor Detail |
---|
public DataModifyQuery()
public DataModifyQuery(java.lang.String sqlString)
public DataModifyQuery(Call call)
Method Detail |
---|
public boolean hasModifyRow()
public void setHasModifyRow(boolean hasModifyRow)
public java.lang.Object executeDatabaseQuery() throws DatabaseException
executeDatabaseQuery
in class DatabaseQuery
DatabaseException
- - an error has occurred on the database.public boolean isDataModifyQuery()
isDataModifyQuery
in class DatabaseQuery
protected void prepare()
prepare
in class DatabaseQuery
public void prepareForExecution() throws QueryException
prepareForExecution
in class DatabaseQuery
QueryException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |