code: @Override
  	public void declareParameters(String paramString) {
  		checkUnmodifiable();
  		parameters.clear();
  		paramString = paramString.trim();
  		int i1 = paramString.indexOf(',');
  		while (i1 >= 0) {
  			String p1 = paramString.substring(0, i1).trim();
  			updateParameterDeclaration(p1);
  			paramString = paramString.substring(i1+1, paramString.length()).trim();
  			i1 = paramString.indexOf(',');
  		}
  		updateParameterDeclaration(paramString);
  		resetQuery();
  	}
docs: For example:
  Query q = pm.newQuery (Employee.class, "salary = sal _AND_ name.startsWith(begin");
  q.declareParameters ("Float sal, String begin");