Reputation: 403
I have models with nested entity inside them. Is it necessary to write annotation @Embedded and @Embedeable or it's not necessary in actual Spring version?
Upvotes: 0
Views: 208
Reputation: 1546
Yes you still need to use these in Spring, since these are JPA annotations and are necessary when you are embedding a given type within another entity.
Upvotes: 1