Part 2. Mapping strategies
This part of the book is all about ORM, from classes and properties to tables and columns. The knowledge you will gain here is essential, whether you work with Hibernate or Spring Data JPA as your persistence framework. Chapter 5 starts with regular class and property mappings and explains how you can map fine-grained Java domain models. Next, in chapter 6, you’ll see how to map basic properties and embeddable components, and how to control mapping between Java and SQL types. In chapter 7, you’ll map inheritance hierarchies of entities to the database using four basic inheritance-mapping strategies; you’ll also map polymorphic associations. Chapter 8 is all about mapping collections and entity associations: you’ll map ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access