Registry / orm / openjpa-all

openjpa-all

JSON →
library4.1.1javamavenunverified

Apache OpenJPA implementation of Jakarta JPA 3.1, providing object-relational mapping for Java applications.

<dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa-all</artifactId> <version>4.1.1</version> </dependency>
INSTALL
IMPORT
SIG · OPENJPA-ALL
O
openjpa-all
ormjavav4.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpenJPAEntityManagerFactory
org.apache.openjpa.persistence.OpenJPAEntityManagerFactory

Creates an entity manager and persists an entity using OpenJPA.

import org.apache.openjpa.persistence.OpenJPAEntityManagerFactory; import org.apache.openjpa.persistence.OpenJPAEntityManager; OpenJPAEntityManagerFactory emf = OpenJPAEntityManagerFactory.getInstance("my-persistence-unit"); OpenJPAEntityManager em = emf.createEntityManager(); em.getTransaction().begin(); em.persist(new MyEntity()); em.getTransaction().commit(); em.close();
Debug
Known issues
breakingOpenJPA 4.x requires Jakarta EE; use javax.persistence for older versions.
fix
Ensure your application uses Jakarta Persistence (jakarta.persistence) for OpenJPA 4.x.
affects: >=4.0.0
Upgrade
Version history
4.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
openjpa-all — mvn dependency:get openjpa-all · libregistry