/** * ADVANCED: * Set the receiver's read object call. * This allows the user to override the read object operation. * This must accept only the primary key of the object as arguments. */ public void setReadObjectCall(Call call) { if (call == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setCall(call); setReadObjectQuery(query); }
/** * ADVANCED: * Set the receiver's read object call. * This allows the user to override the read object operation. * This must accept only the primary key of the object as arguments. */ public void setReadObjectCall(Call call) { if (call == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setCall(call); setReadObjectQuery(query); }
/** * ADVANCED: * Set the receiver's read object call. * This allows the user to override the read object operation. * This must accept only the primary key of the object as arguments. */ public void setReadObjectCall(Call call) { if (call == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setCall(call); setReadObjectQuery(query); }
/** * ADVANCED: * Set the receiver's read 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 read arguments row, * through replacing the field names marked by '#' with the values for those fields. * This must accept only the primary key of the object as arguments. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "select * from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID" */ public void setReadObjectSQLString(String sqlString) { if (sqlString == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setSQLString(sqlString); setReadObjectQuery(query); }
/** * ADVANCED: * Set the receiver's read 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 read arguments row, * through replacing the field names marked by '#' with the values for those fields. * This must accept only the primary key of the object as arguments. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "select * from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID" */ public void setReadObjectSQLString(String sqlString) { if (sqlString == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setSQLString(sqlString); setReadObjectQuery(query); }
/** * ADVANCED: * Set the receiver's read 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 read arguments row, * through replacing the field names marked by '#' with the values for those fields. * This must accept only the primary key of the object as arguments. * Warning: Allowing an unverified SQL string to be passed into this * method makes your application vulnerable to SQL injection attacks. * <p> * Example, "select * from EMPLOYEE where EMPLOYEE_ID = #EMPLOYEE_ID" */ public void setReadObjectSQLString(String sqlString) { if (sqlString == null) { return; } ReadObjectQuery query = new ReadObjectQuery(); query.setSQLString(sqlString); setReadObjectQuery(query); }
manager.setReadObjectQuery((ReadObjectQuery)getReadObjectQuery().clone());
manager.setReadObjectQuery((ReadObjectQuery)getReadObjectQuery().clone());
manager.setReadObjectQuery((ReadObjectQuery)getReadObjectQuery().clone());
queryManager.setReadObjectQuery(readObjectQuery);
queryManager.setReadObjectQuery(readObjectQuery);
setReadObjectQuery((ReadObjectQuery)parentQueryManager.getReadObjectQuery().clone());
setReadObjectQuery((ReadObjectQuery)parentQueryManager.getReadObjectQuery().clone());
setReadObjectQuery((ReadObjectQuery)parentQueryManager.getReadObjectQuery().clone());