-
Notifications
You must be signed in to change notification settings - Fork 0
Get relations
Eduardo William Karpinski Priester edited this page Oct 2, 2021
·
1 revision
public static void main(String[] args) {
// the parameters are: parent entity, relation field name, parent id
List<MyEntityChild> childs = new HCFConnection<>(MyEntityChild.class).getRelations(MyEntity.class, "childs", 1);
childs.forEach(System.out::println);
}