1 post • Page 1 of 1
- Posts: 1
- Joined: Thu Nov 15, 2018 3:31 pm
Why is a @ElementCollection Annotation correct? It clearly states that when the map has an Entity as key, it must be a relationship Annotation. The ElementCollection is for embeddables and primitives only.
Users browsing this forum: No registered users and 3 guests