Package com.taobao.tddl.common.mockdatasource.param

Examples of com.taobao.tddl.common.mockdatasource.param.ParameterContext


  public void setObject(int parameterIndex, Object x) throws SQLException {
    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


  public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
    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

  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}));
  }

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

  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

  public void setShort(int parameterIndex, short x) throws SQLException {
    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

  public void setString(int parameterIndex, String x) throws SQLException {
    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

  public void setTime(int parameterIndex, Time x) throws SQLException {
    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

  public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
    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

  public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
    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

  public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setTimestamp2, new Object[] {parameterIndex, x, cal}));
  }

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

TOP

Related Classes of com.taobao.tddl.common.mockdatasource.param.ParameterContext

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.