March 16 2013 by Kevin Bowersox

The following tutorial details how to configure an Embeddable entity and embed it with another entity.  It describes "how" and "why" to use the JPA annotations @Embeddable and @Embedded.  The tutorial builds off of a project created in the previous post, JPA: Mapping a Many-To-Many Relationship.  To follow along with this video, you can download the source code for the previous post from the GitHub Repository.  Source code for the completed project can be downloaded by clicking the GitHub logo below.

Post a Comment
*Name
Email
Site
*Comment