if (resultStarted && entityStarted) {
if (!idFound) {
List<java.lang.reflect.Field> fields = ClassUtil.getAnnotatedFields(getEntityInstance().getClass(), Id.class);
if (fields.isEmpty() || fields.size() > 1) {
throw new ApitraryOrmIdException("Illegal amount of annotated id properties of class " + getEntityInstance().getClass().getName());
} else {
ClassUtil.setSilent(getEntityInstance(), fields.get(0).getName(), text);
idFound = true;
}
} else if (text != null && idFound) {