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

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

本文整理了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

  1. private Query parseSelect() {
  2. Query command = null;
  3. int paramIndex = parameters.size();
  4. command = parseSelectUnion();
  5. ArrayList<Parameter> params = New.arrayList();
  6. for (int i = paramIndex, size = parameters.size(); i < size; i++) {
  7. params.add(parameters.get(i));
  8. }
  9. command.setParameterList(params);
  10. command.init();
  11. return command;
  12. }

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

  1. Query query = parseSelectUnion();
  2. read(")");
  3. query.setParameterList(new ArrayList<>(parameters));
  4. query.init();
  5. Session s;

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

  1. private Query parseSelect() {
  2. int paramIndex = parameters.size();
  3. Query command = parseSelectUnion();
  4. ArrayList<Parameter> params = New.arrayList();
  5. for (int i = paramIndex, size = parameters.size(); i < size; i++) {
  6. params.add(parameters.get(i));
  7. }
  8. command.setParameterList(params);
  9. command.init();
  10. return command;
  11. }

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

  1. private Query parseSelect() {
  2. int paramIndex = parameters.size();
  3. Query command = parseSelectUnion();
  4. ArrayList<Parameter> params = New.arrayList();
  5. for (int i = paramIndex, size = parameters.size(); i < size; i++) {
  6. params.add(parameters.get(i));
  7. }
  8. command.setParameterList(params);
  9. command.init();
  10. return command;
  11. }

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

  1. private Query parseSelect() throws SQLException {
  2. int paramIndex = parameters.size();
  3. Query command = parseSelectUnion();
  4. ObjectArray params = new ObjectArray();
  5. for (int i = paramIndex; i < parameters.size(); i++) {
  6. params.add(parameters.get(i));
  7. }
  8. command.setParameterList(params);
  9. command.init();
  10. return command;
  11. }

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

  1. params.add(parameters.get(i));
  2. query.setParameterList(params);
  3. query.init();
  4. Session s;

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

  1. Query query = parseSelectUnion();
  2. read(")");
  3. query.setParameterList(New.arrayList(parameters));
  4. query.init();
  5. Session s;

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

  1. Query query = parseSelectUnion();
  2. read(")");
  3. query.setParameterList(New.arrayList(parameters));
  4. query.init();
  5. Session s;

相关文章