Google News
logo
JPA - Interview Questions
What requirements does JPA set for Embeddable classes?
* Such classes must satisfy the same rules as the Entity classes, except that they do not have to contain a primary key and be marked with the Entity annotation.

* The Embeddable class must be marked with the Embeddable annotation or described in the XML configuration file JPA.
Advertisement