Registry / database / geronimo-jpa-2-0-spec

geronimo-jpa-2-0-spec

JSON →
library1.1javamavenunverified

Implementation of Sun JSR-317 JPA 2.0 Spec API for Java persistence.

<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jpa_2.0_spec</artifactId> <version>1.1</version> </dependency>
INSTALL
IMPORT
SIG · GERONIMO-JPA-2-0-S
G
geronimo-jpa-2-0-spec
databasejavav1.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.

EntityManager
javax.persistence.EntityManager

Basic JPA EntityManager usage

import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class JpaExample { public static void main(String[] args) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("my-pu"); EntityManager em = emf.createEntityManager(); em.close(); emf.close(); } }
Debug
Known issues
gotchaThis is an older JPA 2.0 spec; newer applications should use JPA 2.1 or 3.0 for better features.
fix
Upgrade to a newer JPA specification like Hibernate 5.x or EclipseLink 3.x.
affects: <=1.1
Upgrade
Version history
1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
OpenAI (training)
1
Resources
geronimo-jpa-2-0-spec — mvn dependency:get geronimo-jpa-2-0-spec · libregistry