OpenJPA

OpenJPA Performance Summary

The following charts show the performance of OpenJPA (in green) relatively to other JPA/DBMS combinations (in gray).

Position #1 on the X-Axis (the fastest) is about 100 times faster than position #32 (the slowest).
In the chart below the Y-Axis represents result score (maximum 100) in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB
In the chart below the Y-Axis represents result score (maximum 100) in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB


The configurations in which OpenJPA has been tested are listed in the following table:

 Database + JPA ProviderNormalized Score
100 - Best,  0 - Worst
Final Position
1 - Best,  32 - Worst
Failed Tests
1OpenJPA with HSQLDB embedded5.914  (out of 32)10
2OpenJPA with MySQL server5.516  (out of 32)29
3OpenJPA with Derby embedded5.417  (out of 32)10
4OpenJPA with PostgreSQL server4.121  (out of 32)5
5OpenJPA with Derby server2.826  (out of 32)38
6OpenJPA with H2 server1.130  (out of 32)2
7OpenJPA with H2 embedded0.9032  (out of 32)10

About OpenJPA

OpenJPA is a JPA object-relational mapping library developed by Apache. It was first released in 2007. It is based on code contribution from BEA Systems of its Kodo ORM library, which was developed by SolarMetric since 2001 and was acquired by BEA Systems in 2005.

OpenJPA is available under the Apache open source license.

In this benchmark OpenJPA 2.0.0 (which was released in 2010) has been tested.

All the entity classes have been enhanced by OpenJPA, by running the tests with a Java Agent (javaagent:openjpa-all-2.0.0.jar).