sel_entities_by_attribute = open(SEL_ENTITIES_BY_ATTRIBUTE, property, sel_entities_by_attribute);
sel_entities_by_attribute.setString(1, stringValue);
sel_entities_by_attribute.setInt(2, getId(property));
ResultSet rs = sel_entities_by_attribute.executeQuery();
while (rs.next()) {
Surrogate surrogate = makeSurrogate(property.getSurrogate().getDatabase(), DBObjectType.CHRONICLE, rs.getInt(1));
Chronicle chronicle = new ChronicleImpl(surrogate);
check(Permission.READ, chronicle);
chronicles.add(chronicle);
if (maxSize > 0 && chronicles.size() >= maxSize)
break;