@Override
  public void checkQueryOk() {
    super.checkQueryOk();

    if (latest && ((id != null) || (version != null) || (deploymentId != null))) {
      throw new ProcessEngineException(
          "Calling latest() can only be used in combination with key(String) and keyLike(String) or name(String) and nameLike(String)");
    }
  }
示例#2
0
 public FieldQuery(AbstractQuery<? extends F, ?> query) {
   super(query.get());
 }
 @Override
 public void prepare() {
   super.prepare();
   assertNotNull(method, sqlFilePath, parameterName, elements, sqls);
 }