use of io.jans.orm.model.EntryData in project jans by JanssenProject.
the class SqlOperationServiceImpl method getEntryDataList.
private List<EntryData> getEntryDataList(TableMapping tableMapping, ResultSet resultSet) throws EntryConvertationException, SQLException {
List<EntryData> entryDataList = new LinkedList<>();
List<AttributeData> attributeDataList = null;
while (!resultSet.isLast()) {
attributeDataList = getAttributeDataList(tableMapping, resultSet, false);
if (attributeDataList == null) {
break;
}
EntryData entryData = new EntryData(attributeDataList);
entryDataList.add(entryData);
}
return entryDataList;
}
Aggregations