Purpose: Concrete class used for executing non selecting SQL strings.
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | hasModifyRow
Used to distinguish query that have a different modify row than translation row. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DataModifyQuery(String sqlString)
Warning Allowing an unverified SQL string to be passed into this method makes your application vulnerable to SQL injection attacks. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | executeDatabaseQuery()
Implements abstract org. |
| public boolean | |
| public boolean | isDataModifyQuery()
Overrides org. |
| protected void | prepare()
Overrides org. |
| public void | prepareForExecution()
Overrides org. |
| public void |
| hasModifyRow | back to summary |
|---|---|
| protected boolean hasModifyRow Used to distinguish query that have a different modify row than translation row. | |
| DataModifyQuery | back to summary |
|---|---|
| public DataModifyQuery() | |
| DataModifyQuery | back to summary |
|---|---|
| public DataModifyQuery(String sqlString) Warning Allowing an unverified SQL string to be passed into this method makes your application vulnerable to SQL injection attacks. | |
| DataModifyQuery | back to summary |
|---|---|
| public DataModifyQuery(Call call) | |
| executeDatabaseQuery | back to summary |
|---|---|
| public Object executeDatabaseQuery() throws DatabaseException Implements abstract org. INTERNAL: Perform the work to execute the SQL call. Return the row count of the number of rows effected by the SQL call.
| |
| hasModifyRow | back to summary |
|---|---|
| public boolean hasModifyRow() Return if a modify row has been set. Allows distinguishing query that have a different modify row than translation row. | |
| isDataModifyQuery | back to summary |
|---|---|
| public boolean isDataModifyQuery() Overrides org. PUBLIC: Return if this is a data modify query.
| |
| prepare | back to summary |
|---|---|
| protected void prepare() Overrides org. INTERNAL: Prepare the receiver for execution in a session.
| |
| prepareForExecution | back to summary |
|---|---|
| public void prepareForExecution() throws QueryException Overrides org. INTERNAL: Prepare the receiver for execution in a session. In particular, set the descriptor of the receiver to the ClassDescriptor for the appropriate class for the receiver's object.
| |
| setHasModifyRow | back to summary |
|---|---|
| public void setHasModifyRow(boolean hasModifyRow) Set if a modify row has been set. Allows distinguishing query that have a different modify row than translation row. | |