Enterprise Java Development@TOPIC@

Part IV. Java Persistence API: Entity Mapping Exercise

Mapping POJOs to RDBMS Tables

2019-08-22 07:09 EST

Table of Contents

Purpose
24. JPA Entity Exercise Setup
24.1. Setup Maven Project
25. JPA Entity Class Basics
25.1. Create POJO Class using descriptor
25.2. Create POJO Class using annotations
25.3. Summary
26. Mapping Class Properties
26.1. Map Entity to Specific Table
26.2. Using JPA Property Access
26.3. Summary
27. JPA Enum Mapping
27.1. Mapping Enum Ordinal Values
27.2. Mapping Enum Name Values
27.3. Mapping Enum Alternate Values
27.4. Summary
28. Mapping Temporal Types
28.1. Mapping Temporal Types
28.2. Summary
29. Mapping Large Objects
29.1. Mapping CLOBS
29.2. Mapping BLOBS
29.3. Summary
30. Primary Key Generation
30.1. IDENTITY Primary Key Generation Strategy
30.2. SEQUENCE Primary Key Generation Strategy
30.3. TABLE Primary Key Generation Strategy
30.4. Summary
31. Mapping Compound Primary Keys
31.1. Using Embedded Compound Primary Keys
31.2. Using Compound Primary Keys as IdClass
31.3. Summary
32. Mapping Embedded Objects within Classes
32.1. Mapping an Embedded Object
32.2. Mapping Muti-level Embedded Objects
32.3. Summary
33. Objects Mapped to Multiple Tables
33.1. Mapping to Secondary Tables
33.2. Summary