Hello,
could you advise me please, how to get the parent entity in this scenario:
- Parent - child,
- @Composition,
- @OneToOne(fetch = FetchType.LAZY, optional = false)
- The owning side is the parent.
I am editng the child in a editor screen, and then I am in a child controller.
I need some data from the parent… How to get it?
Something like “getEditedEntity().getParent()”
Thank you very much in advance…
Tomas