KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The JPA (Java Persistence API) specification has 2 different ways to specify entity composite keys: @IdClass and @EmbeddedId . I'm using both annotations on my mapped entities, but it turns out to be a big mess to people who aren't very familiar with JPA . I want to adopt only one way to specify composite keys. Which one is really the best? Why?
Tags (comma-separated)
Save Edits
Cancel