MVN

javax.persistence : javax.persistence-api

Maven & Gradle

Aug 21, 2017
1.3k usages
90 stars

Java(TM) Persistence API

<dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>javax.persistence-api</artifactId>
    <version>2.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of javax.persistence : javax.persistence-api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.2

All Versions

Choose a version of javax.persistence : javax.persistence-api to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.2
javax.persistence-api-2.2

How to add a dependency to Maven

Add the following javax.persistence : javax.persistence-api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>javax.persistence-api</artifactId>
    <version>2.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following javax.persistence : javax.persistence-api gradle dependency to your build.gradle file:

implementation 'javax.persistence:javax.persistence-api:2.2'

Gradle Kotlin DSL: Add the following javax.persistence : javax.persistence-api gradle kotlin dependency to your build.gradle.kts file:

implementation("javax.persistence:javax.persistence-api:2.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following javax.persistence : javax.persistence-api sbt scala dependency to your build.sbt file:

libraryDependencies += "javax.persistence" % "javax.persistence-api" % "2.2"

Advertisement

Dependencies from Group

Aug 21, 2017
1.3k usages
90 stars
Apr 17, 2008
970 usages
ejb
Apr 23, 2006
5 usages
Aug 19, 2011
4 usages

Discover Dependencies

Sep 13, 2022
3.4k usages
3.9k stars
Jun 02, 2023
69.4k usages
14.2k stars
May 30, 2023
29 usages
72 stars
Aug 09, 2023
25k usages
2.7k stars
Oct 23, 2009
1.6k usages
Aug 23, 2023
171 usages
47k stars
Aug 24, 2023
935 usages
71.9k stars
May 28, 2020
144 usages
4.5k stars
Oct 13, 2009
5.3k usages
Jul 10, 2015
277 usages
1.5k stars