# Java Persistence

A book relating to the Java programming language.

## Contents

* Preface
* About Authors
* What is Java persistence?
** What is Java?
** What is a database?
** What is JPA?
** What is new in JPA 2.0?
** What is new in JPA 2.1?
** Other Persistence Specs
** Why use JPA or ORM?
* Persistence Products, Which to Use?
** EclipseLink (Eclipse)
** Hibernate (RedHat)
** Open JPA (Apache)
** DataNucleus
** Ebean (SourceForge)
** TopLink Essentials (Glassfish)
** TopLink (Oracle)
** Kodo (Oracle)
* Mapping, Round Pegs into Square Holes
** Tables
** Identity, Primary Keys and Sequencing
** Inheritance
** Embeddables (Aggregates, Composite or Component Objects)
** Locking and Concurrency
** Basic Attributes
** Relationships
*** OneToOne
*** ManyToOne
*** OneToMany
*** ManyToMany
*** Embedded
** Advanced Mappings
*** ElementCollection (Embeddable Collections, Basic Collections)
*** Variable Relationships (Heterogeneous, Interface)
*** Nested Collections, Maps and Matrices
** Advanced Topics
*** Events
*** Views
*** Interfaces
*** Stored Procedures
*** Structured Object-Relational Data Types
*** XML Data Types
*** Filters
*** History
*** Logical Deletes
*** Auditing
*** Replication
*** Partitioning
*** Data Integration
*** NoSQL (and EIS, legacy, XML, and non-relational data)
*** Multi-Tenancy
*** Dynamic Data
* Runtime, Doing the Hokey Pokey (EntityManager)
** Querying
*** JPQL
*** Criteria API
** Persisting (Inserting, Updating, Merging)
** Transactions
** Caching
** Packaging and Deploying
** EJB
** Auditing and Security (User Authentication, Proxy Connections, VPD)
** Servlets and JSPs
** WebServices
** Java EE
*** Oracle Weblogic
*** Oracle Glassfish
*** IBM Websphere
*** Redhat JBoss
** Spring
** OSGi
** Tomcat
** Clustering
* Databases
** Oracle
** PostgreSQL
** MySQL
** DB2
** SQL Server
** NoSQL, EIS, and Non-relational Data Sources
* Debugging
* Performance
* Tools
** NetBeans JPA Modeler
** Eclipse JPA (Dali)
* Testing

## See Also

| Resources EJB 3.1 Spec EJB 3.0 JPA 1.0 Spec JPA 2.0 Spec JPA 2.1 Spec JPA 1.0 ORM XML Schema JPA 2.0 ORM XML Schema JPA 2.1 ORM XML Schema JPA 1.0 Persistence XML Schema JPA 2.0 Persistence XML Schema JPA 2.1 Persistence XML Schema JPA 1.0 JavaDoc JPA 2.0 JavaDoc JPA 2.1 JavaDoc JPQL BNF JPA 2.0 Reference Implementation JPA 2.1 Reference Implementation Java Programming | Wikis EclipseLink Wiki Oracle TopLink Wiki Glassfish TopLink Essentials Wiki Hibernate Wiki DataNucleus Wiki JPA on Wikipedia JPA on Javapedia JPA on freebase JPA at Curlie |
| Forums Sun EJB Forum JavaRanch ORM Forum EclipseLink Forum Oracle TopLink Forum Hibernate Forum TopLink Essentials Mailing List (Glassfish persistence) DataNucleus Forum ObjectDB Forum Java Persistence Performance | Products Oracle TopLink Home EclipseLink Home TopLink Essentials Home Hibernate Home Open JPA Home DataNucleus AccessPlatform HiberObjects Ebean ORM ObjectDB Object Database ObjetDB's JPA Performance Benchmark |
| Blogs JPA Tutorials EclipseLink On Persistence (Shaun Smith) Java Persistence (Doug Clarke) System.out (Mike Keith) Java Persistence Performance (James Sutherland) Hibernate Blog DataNucleus Blog JPA implementation patterns: Wrap-up | Books Pro JPA 2: Mastering the Java™ Persistence API Pro EJB 3: Java Persistence API Java Persistence with JPA, Outskirts Press, Denvor, March 2010 Enterprise JavaBeans 3.0 EJB 3 In Action |