/** * ADVANCED: * Set the receiver's read all call. * This allows the user to override the read all operation. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. */ public void setReadAllCall(Call call) { if (call == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setCall(call); setReadAllQuery(query); }
/** * ADVANCED: * Set the receiver's read all call. * This allows the user to override the read all operation. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. */ public void setReadAllCall(Call call) { if (call == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setCall(call); setReadAllQuery(query); }
/** * ADVANCED: * Set the receiver's read all call. * This allows the user to override the read all operation. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. */ public void setReadAllCall(Call call) { if (call == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setCall(call); setReadAllQuery(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. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. * 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" */ public void setReadAllSQLString(String sqlString) { if (sqlString == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setSQLString(sqlString); setReadAllQuery(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. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. * 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" */ public void setReadAllSQLString(String sqlString) { if (sqlString == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setSQLString(sqlString); setReadAllQuery(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. * Note that this is only used on readAllObjects(Class), and not when an expression is provided. * 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" */ public void setReadAllSQLString(String sqlString) { if (sqlString == null) { return; } ReadAllQuery query = new ReadAllQuery(); query.setSQLString(sqlString); setReadAllQuery(query); }
manager.setReadAllQuery((ReadAllQuery)getReadAllQuery().clone());
manager.setReadAllQuery((ReadAllQuery)getReadAllQuery().clone());
manager.setReadAllQuery((ReadAllQuery)getReadAllQuery().clone());
setReadAllQuery((ReadAllQuery)parentQueryManager.getReadAllQuery().clone());
setReadAllQuery((ReadAllQuery)parentQueryManager.getReadAllQuery().clone());
setReadAllQuery((ReadAllQuery)parentQueryManager.getReadAllQuery().clone());