org.h2.command.dml.Query.setParameterList()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(239)

本文整理了Java中org.h2.command.dml.Query.setParameterList方法的一些代码示例,展示了Query.setParameterList的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setParameterList方法的具体详情如下:
包路径:org.h2.command.dml.Query
类名称:Query
方法名:setParameterList

Query.setParameterList介绍

暂无

代码示例

代码示例来源:origin: com.h2database/h2

private Query parseSelect() {
  Query command = null;
  int paramIndex = parameters.size();
  command = parseSelectUnion();
  ArrayList<Parameter> params = New.arrayList();
  for (int i = paramIndex, size = parameters.size(); i < size; i++) {
    params.add(parameters.get(i));
  }
  command.setParameterList(params);
  command.init();
  return command;
}

代码示例来源:origin: com.h2database/h2

Query query = parseSelectUnion();
read(")");
query.setParameterList(new ArrayList<>(parameters));
query.init();
Session s;

代码示例来源:origin: com.eventsourcing/h2

private Query parseSelect() {
  int paramIndex = parameters.size();
  Query command = parseSelectUnion();
  ArrayList<Parameter> params = New.arrayList();
  for (int i = paramIndex, size = parameters.size(); i < size; i++) {
    params.add(parameters.get(i));
  }
  command.setParameterList(params);
  command.init();
  return command;
}

代码示例来源:origin: org.wowtools/h2

private Query parseSelect() {
  int paramIndex = parameters.size();
  Query command = parseSelectUnion();
  ArrayList<Parameter> params = New.arrayList();
  for (int i = paramIndex, size = parameters.size(); i < size; i++) {
    params.add(parameters.get(i));
  }
  command.setParameterList(params);
  command.init();
  return command;
}

代码示例来源:origin: com.h2database/com.springsource.org.h2

private Query parseSelect() throws SQLException {
  int paramIndex = parameters.size();
  Query command = parseSelectUnion();
  ObjectArray params = new ObjectArray();
  for (int i = paramIndex; i < parameters.size(); i++) {
    params.add(parameters.get(i));
  }
  command.setParameterList(params);
  command.init();
  return command;
}

代码示例来源:origin: com.h2database/com.springsource.org.h2

params.add(parameters.get(i));
query.setParameterList(params);
query.init();
Session s;

代码示例来源:origin: com.eventsourcing/h2

Query query = parseSelectUnion();
read(")");
query.setParameterList(New.arrayList(parameters));
query.init();
Session s;

代码示例来源:origin: org.wowtools/h2

Query query = parseSelectUnion();
read(")");
query.setParameterList(New.arrayList(parameters));
query.init();
Session s;

相关文章