Hello,
I have the following issue:
2 Entities
Person, Address
One Person can have many addresses: One to many relation
I want to show persons with their main addresses (main address flag) in a vaadin table.
As I have a one to many relationship on the entity level I cannot use nested properties to show the address informations.
How is it possible to show the persons with the main address informations.
I already tried to create a native query and to rebuilt the JPAContainer with addEntity…
But I get the error that the entity provider is not editable / mutable. How can I solve it?
But its not a good way to rebuilt the JPAContainer with addEntity…
Who has a good solution for me - maybe without extra native, typed query.
I just have a problem with the OneToMany Relation in a Vaadin Table