Friday, 24 August 2012

JPA Tutorial with Examples using Hibernate in Standalone

This post is the starting point of a JPA introduction tutorial based on operational examples. It relies on a standalone usage of Hibernate. All code examples are available from Github in the JPA directory. Some error messages will be displayed when running some examples because of a known and harmless issue.

The following posts can be read individually or as a sequence:

Basics

Inheritance

Relationships

Criteria API



REM: This introduction tutorial does not cover for all features of the persistence package, but is enough to get started and write applications. More posts may be added in the future.