parents = new ArrayList<AnotherEntity>();
}
if (parents.size() < 5) {
for (Integer i = 0; i < 5; i++) {
AnotherEntity parent = new AnotherEntity();
parent.save();
parent.prop = "parent " + parent.id.toString();
parent.save();
parents.add(parent);
}
}