use of org.cerberus.crud.factory.impl.FactoryBatchInvariant in project cerberus-source by cerberustesting.
the class BatchInvariantDAO method loadFromResultSet.
private BatchInvariant loadFromResultSet(ResultSet rs) throws SQLException {
String system = ParameterParserUtil.parseStringParam(rs.getString("System"), "");
String batch = ParameterParserUtil.parseStringParam(rs.getString("Batch"), "");
String description = ParameterParserUtil.parseStringParam(rs.getString("Description"), "");
// TODO remove when working in test with mockito and autowired
factoryBatchInvariant = new FactoryBatchInvariant();
return factoryBatchInvariant.create(system, batch, description);
}
Aggregations