use of org.cerberus.crud.factory.impl.FactoryTestCaseExecutionData in project cerberus-source by cerberustesting.
the class TestCaseExecutionDataDAO method loadFromResultSet.
@Override
public TestCaseExecutionData loadFromResultSet(ResultSet resultSet) throws SQLException {
long id = resultSet.getLong("exd.id");
String property = resultSet.getString("exd.property");
int index = resultSet.getInt("exd.index");
String description = resultSet.getString("exd.description");
String value = resultSet.getString("exd.value");
String type = resultSet.getString("exd.type");
String value1 = resultSet.getString("exd.value1");
String value2 = resultSet.getString("exd.value2");
String value1Init = resultSet.getString("exd.value1Init");
String value2Init = resultSet.getString("exd.value2Init");
String returnCode = resultSet.getString("exd.rc");
String returnMessage = resultSet.getString("exd.rmessage");
long start = resultSet.getTimestamp("exd.start").getTime();
long end = resultSet.getTimestamp("exd.end").getTime();
long startLong = resultSet.getLong("exd.startlong");
long endLong = resultSet.getLong("exd.endlong");
String lengthInit = resultSet.getString("exd.lengthInit");
String length = resultSet.getString("exd.length");
int rowLimit = resultSet.getInt("exd.rowlimit");
String nature = resultSet.getString("exd.nature");
String database = resultSet.getString("exd.database");
int retryNb = resultSet.getInt("exd.RetryNb");
int retryPeriod = resultSet.getInt("exd.RetryPeriod");
String system = resultSet.getString("exd.system");
String environment = resultSet.getString("exd.environment");
String country = resultSet.getString("exd.country");
String dataLib = resultSet.getString("exd.dataLib");
String jsonResult = resultSet.getString("exd.jsonResult");
String fromCache = resultSet.getString("exd.FromCache");
factoryTestCaseExecutionData = new FactoryTestCaseExecutionData();
return factoryTestCaseExecutionData.create(id, property, index, description, value, type, value1, value2, returnCode, returnMessage, start, end, startLong, endLong, null, retryNb, retryPeriod, database, value1Init, value2Init, lengthInit, length, rowLimit, nature, system, environment, country, dataLib, jsonResult, fromCache);
}
Aggregations