Foreword

When the Java Persistence API was first released as part of Enterprise JavaBeans 3.0 in 2006, it was quickly received as one of the most exciting technologies of Java EE 5. Like EJB 3.0, of which it was a part, JPA 1.0 was focused on both function and ease of use, leveraging Java language annotations and sensible defaulting to provide convenient configuration.

JPA 1.0, however, was not just a much-needed replacement for the heavy-weight entity "bean" components of earlier EJB releases, although that was its initial reason for existence. As a more general-purpose object-relational mapping facility, it was quickly recognized as such, and was expanded at the request of the community to support use in Java SE environments as well as in the ...

Get Pro JPA 2: Mastering the Java™ Persistence API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.