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

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


  public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setCharacterStream, new Object[] {parameterIndex, reader, length}));
  }

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


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

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

  public void setDate(int parameterIndex, Date x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setDate1, new Object[] {parameterIndex, x}));
  }

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

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

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

  public void setDouble(int parameterIndex, double x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setDouble, new Object[] {parameterIndex, x}));
  }

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

  public void setFloat(int parameterIndex, float x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setFloat, new Object[] {parameterIndex, x}));
  }

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

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

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

  public void setLong(int parameterIndex, long x) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setLong, new Object[] {parameterIndex, x}));
  }

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

  public void setNull(int parameterIndex, int sqlType) throws SQLException {
    parameterSettings.put(parameterIndex, new ParameterContext(ParameterMethod.setNull1, new Object[] {parameterIndex, sqlType}));
  }

  public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException {
    parameterSettings.put(paramIndex, new ParameterContext(ParameterMethod.setNull2, new Object[] {paramIndex, sqlType, typeName}));
  }
View Full Code Here

  public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException {
    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

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.