Package jodd.util.collection

Examples of jodd.util.collection.IntArrayList


    }
  }

  public void setString(String param, String value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setString(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here


    }
  }

  public void setDate(String param, Date value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setDate(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setTime(String param, Time value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setTime(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setTimestamp(String param, Timestamp value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setTimestamp(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setBigDecimal(String param, BigDecimal value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setBigDecimal(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setURL(String param, URL value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setURL(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setBlob(String param, Blob value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setBlob(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setClob(String param, Clob value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setClob(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setArray(String param, Array value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setArray(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

    }
  }

  public void setRef(String param, Ref value) {
    init();
    IntArrayList positions = query.getNamedParameterIndices(param);
    try {
      for (int i = 0; i < positions.size(); i++) {
        preparedStatement.setRef(positions.get(i), value);
      }
    } catch (SQLException sex) {
      throwSetParamError(param, sex);
    }
  }
View Full Code Here

TOP

Related Classes of jodd.util.collection.IntArrayList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.