/** * ADVANCED: * Set the receiver's delete call. * This allows the user to override the delete operation. */ public void setDeleteCall(Call call) { if (call == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setCall(call); setDeleteQuery(query); }
/** * ADVANCED: * Set the receiver's delete call. * This allows the user to override the delete operation. */ public void setDeleteCall(Call call) { if (call == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setCall(call); setDeleteQuery(query); }
/** * ADVANCED: * Set the receiver's delete call. * This allows the user to override the delete operation. */ public void setDeleteCall(Call call) { if (call == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setCall(call); setDeleteQuery(query); }
/** * ADVANCED: * Set the receiver's delete SQL string. * This allows the user to override the SQL generated by EclipseLink, with their own SQL or procedure call. * The arguments are translated from the fields of the source row, * through replacing the field names marked by '#' with the values for those fields. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "delete from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID". */ public void setDeleteSQLString(String sqlString) { if (sqlString == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setSQLString(sqlString); setDeleteQuery(query); }
/** * ADVANCED: * Set the receiver's delete SQL string. * This allows the user to override the SQL generated by EclipseLink, with their own SQL or procedure call. * The arguments are translated from the fields of the source row, * through replacing the field names marked by '#' with the values for those fields. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "delete from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID". */ public void setDeleteSQLString(String sqlString) { if (sqlString == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setSQLString(sqlString); setDeleteQuery(query); }
/** * ADVANCED: * Set the receiver's delete SQL string. * This allows the user to override the SQL generated by EclipseLink, with their own SQL or procedure call. * The arguments are translated from the fields of the source row, * through replacing the field names marked by '#' with the values for those fields. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "delete from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID". */ public void setDeleteSQLString(String sqlString) { if (sqlString == null) { return; } DeleteObjectQuery query = new DeleteObjectQuery(); query.setSQLString(sqlString); setDeleteQuery(query); }
manager.setDeleteQuery((DeleteObjectQuery)getDeleteQuery().clone());
manager.setDeleteQuery((DeleteObjectQuery)getDeleteQuery().clone());
manager.setDeleteQuery((DeleteObjectQuery)getDeleteQuery().clone());
queryManager.setDeleteQuery(new DeleteObjectQuery());
queryManager.setDeleteQuery(new DeleteObjectQuery());
setDeleteQuery((DeleteObjectQuery)parentQueryManager.getDeleteQuery().clone());
setDeleteQuery((DeleteObjectQuery)parentQueryManager.getDeleteQuery().clone());
setDeleteQuery((DeleteObjectQuery)parentQueryManager.getDeleteQuery().clone());
setDeleteQuery(new DeleteObjectQuery());