Table of Contents

 

  

Front matter

Foreword to the First Edition

Preface

Acknowledgments

About this Book

About the Cover Illustration

  

Part 1.  Getting started with ORM

  1  Understanding object/relational persistence

  1.1  What is persistence?

  1.1.1  Relational databases

  1.1.2  Understanding SQL

  1.1.3  Using SQL in Java

  1.2  The paradigm mismatch

  1.2.1  The problem of granularity

  1.2.2  The problem of subtypes

  1.2.3  The problem of identity

  1.2.4  Problems relating to associations

  1.2.5  The problem of data navigation

  1.3  ORM and JPA

  1.4  Summary

  2  Starting a project

  2.1  Introducing Hibernate

  2.2  “Hello World” with JPA

  2.2.1  Configuring a persistence unit