Package com.taobao.tddl.common.mockdatasource.MockDataSource

Examples of com.taobao.tddl.common.mockdatasource.MockDataSource.ExecuteInfo


  }

  public void setAutoCommit(boolean autoCommit) throws SQLException {
    mockDataSource.checkState();
    checkClose();
        MockDataSource.record(new ExecuteInfo(mockDataSource, "setAutoCommit",
                null, new Object[]{ autoCommit }));
    this.autoCommit = autoCommit;
  }
View Full Code Here


//    for(int i = 0 ; i <ints.length ; i ++){
//      ints[i] = executeUpdate();
//    }
//    return ints;
    mds.checkState();
    MockDataSource.record(new ExecuteInfo(this.mds, "executeBatch", this.sql, null));
    return new int[] { -1, -1 };
  }
View Full Code Here

  public long getLong(String columnName) throws SQLException {
    throw new UnsupportedOperationException("getLong(String columnName)");
  }

  public ResultSetMetaData getMetaData() throws SQLException {
    MockDataSource.record(new ExecuteInfo(this.mds, "ResultSet.getMetaData", null, null));
    return this.resultSetMetaData;
  }
View Full Code Here

TOP

Related Classes of com.taobao.tddl.common.mockdatasource.MockDataSource.ExecuteInfo

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.