Explain @Embeddable annotation.

Open 1 Answers 32 Views Technology

Explain @Embeddable annotation?

1 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.

by (274k points)