Enterprise Java Development@TOPIC@
At the completion of this topic, the student shall
have an understanding of:
Object/Relational Mapping (ORM) based on the Java Persistence API (JPA)
Ownership (owning and inverse sides)
Relationship mapping strategies
Cardinality (one-to-one, one-to-many, many-to-one, and many-to-many)
Direction (uni-directional, bi-directional)
Realization (foreign key and link table)
Simple types/element collections
Orphan removal
Cascades
Foreign key reuse (primary key as foreign key (insert/update=false) and foreign key as primary key(@MapsId))
be able to:
Be able to map a Java entity class relationships to the database using class annotations and ORM descriptors
Be able to map one-to-one, one-to-many, many-to-one, and many-to-many relationships
Be able form relationships using foreign keys and link tables
Be able define cascades for relationships