InterviewSolution
Saved Bookmarks
| 1. |
Explain @embeddable Annotation. |
|
Answer» EJB 3.0 provides option to embed JAVA POJO (PLAIN Old Java OBJECT) into an entity bean and allows to map column NAMES with the methods of the embedded POJO CLASS. A java POJO to be embedded must be annotated as @Embeddable. EJB 3.0 provides option to embed JAVA POJO (Plain Old Java Object) into an entity bean and allows to map column names with the methods of the embedded POJO class. A java POJO to be embedded must be annotated as @Embeddable. |
|