Enterprise Java Development@TOPIC@

Part IV. Java Persistence API: Entity Mapping Exercise

Mapping POJOs to RDBMS Tables

2015-11-18 01:52 EST

Table of Contents

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