*/
@SuppressWarnings("rawtypes") //Ignore the warning about the use of type Class
public List<Model> andRetrieve(final Class anObjectQueried, String[] aFieldNameList, final List<Object> theGivenValueList, final Project aProject) throws WPISuiteException, IllegalArgumentException, IllegalAccessException, InvocationTargetException{
// Please see Wiki for more information on the ServerConfiguration.
ClientConfiguration config = Db4oClientServer.newClientConfiguration();
config.common().reflectWith(new JdkReflector(Thread.currentThread().getContextClassLoader()));
if(aProject == null){
return andRetrieve(anObjectQueried, aFieldNameList, theGivenValueList);
}
final int aFieldNameListSize = aFieldNameList.length;