Added some comments
This commit is contained in:
parent
119b75ed10
commit
6bb7997fcb
@ -108,6 +108,7 @@ abstract class AbstractResultQuery<R extends Record> extends AbstractQuery imple
|
||||
try {
|
||||
ResultSet rs = statement.executeQuery();
|
||||
|
||||
// Fetch a single result set
|
||||
if (!many) {
|
||||
FieldList fields = new FieldList(getFields(rs.getMetaData()));
|
||||
cursor = new CursorImpl<R>(configuration, fields, rs, statement, getRecordType());
|
||||
@ -117,6 +118,8 @@ abstract class AbstractResultQuery<R extends Record> extends AbstractQuery imple
|
||||
cursor = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Fetch several result sets
|
||||
else {
|
||||
results = new ArrayList<Result<Record>>();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user