Coding

Apache OpenJPA – Java persistence framework

Apache OpenJPA is an implementation of the Jakarta Persistence standard for mapping application objects to relational databases. It can operate as an independent persistence layer in standalone applications or integrate with enterprise application servers and frameworks such as Spring.

The framework manages persistent entity lifecycles and translates application-level persistence operations into database statements. Developers can control how associated objects are retrieved, how changes are tracked and how database transactions are performed. OpenJPA also provides extensions beyond the standard persistence API, including facilities for distributing persistent objects across multiple physical databases through its Slice module.

This is free and open source software.

Key Features

  • Entity mapping using annotations and XML metadata.
  • Support for object inheritance, embedded objects and entity relationships.
  • JPQL, Criteria API and native SQL queries.
  • Bytecode enhancement of persistent entity classes.
  • Configurable fetch plans and fetch groups.
  • Data caching and query result caching.
  • Automatic change tracking and transaction synchronisation.
  • Optimistic and pessimistic locking.
  • Database schema generation and mapping tools.
  • Slice provides a virtual database abstraction over multiple physical databases.
  • Custom distribution policies determine where newly persistent objects are stored.
  • Parallel execution of database operations across configured slices.
  • Merge distributed query results or restrict queries to selected slices.
  • Support heterogeneous databases with independently configured JDBC connections.
  • Distributed transactions across appropriately configured XA-capable database connections.

Website: openjpa.apache.org
Support:
Developer: Apache Software Foundation
License: Apache License 2.0

Apache OpenJPA is written in Java. Learn Java with our recommended free books and free tutorials.


Related Software

Java Object-Relational Mapping Software
Hibernate ORMIdiomatic persistence for Java and relational databases
MyBatisPersistence framework with custom SQL and stored procedures
Apache CayenneProvides object-relational mapping (ORM) and remoting services
jOOQjOOQ Object Oriented Querying
DataNucleusSupports JDO and JPA API's for persistence
Apache OpenJPAJava persistence project
EbeanDesigned to be simpler to use and understand than JPA or JDO products
JimmerModern ORM for Java and Kotlin
EclipseLinkPersistence solution addressing relational, XML, and database web services
PersismLightweight, auto discovery, autoconfiguration ORM

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted