Examples of ParameterContext


Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(paramIndex, new ParameterContext(ParameterMethod.setNull2, new Object[] { paramIndex,
        sqlType, typeName }));
  }

  public void setObject(int parameterIndex, Object x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject1, new Object[] {
        parameterIndex, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject1, new Object[] {
        parameterIndex, x }));
  }

  public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject2, new Object[] {
        parameterIndex, x, targetSqlType }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject2, new Object[] {
        parameterIndex, x, targetSqlType }));
  }

  public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject3, new Object[] {
        parameterIndex, x, targetSqlType, scale }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setObject3, new Object[] {
        parameterIndex, x, targetSqlType, scale }));
  }

  public void setRef(int i, Ref x) throws SQLException {
    parameterSettings.put(i, new ParameterContext(ParameterMethod.setRef, new Object[] { i, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

  public void setRef(int i, Ref x) throws SQLException {
    parameterSettings.put(i, new ParameterContext(ParameterMethod.setRef, new Object[] { i, x }));
  }

  public void setShort(int parameterIndex, short x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setShort, new Object[] {
        parameterIndex, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setShort, new Object[] {
        parameterIndex, x }));
  }

  public void setString(int parameterIndex, String x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setString, new Object[] {
        parameterIndex, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setString, new Object[] {
        parameterIndex, x }));
  }

  public void setTime(int parameterIndex, Time x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTime1, new Object[] {
        parameterIndex, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTime1, new Object[] {
        parameterIndex, x }));
  }

  public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTime2, new Object[] {
        parameterIndex, x, cal }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTime2, new Object[] {
        parameterIndex, x, cal }));
  }

  public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTimestamp1, new Object[] {
        parameterIndex, x }));
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.parameter.ParameterContext

    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTimestamp1, new Object[] {
        parameterIndex, x }));
  }

  public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTimestamp2, new Object[] {
        parameterIndex, x, cal }));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.