|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
---|
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 |
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. |
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 |
Constructor Detail |
---|
public DataModifyQuery()
public DataModifyQuery(java.lang.String sqlString)
public DataModifyQuery(Call call)
Method Detail |
---|
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
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |