i have a Question about referencing ParentEntities from Child Entites ir If i have something like this:
Parent.java:
@Entity(name ="Parent")
It still seems to be the case. In parent Entity you can have something like
Entity
@PrePersist private void prePersist() { children.forEach( c -> c.setParent(this)); }
in order to avoid repeating code for setting child/parent relationship elsewhere in code.