MVN

jakarta.persistence : jakarta.persistence-api

Maven & Gradle

Feb 25, 2022
605 usages
206 stars

Jakarta Persistence API

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

Latest Version

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

  • Latest Stable: 3.1.0
  • Latest Release Candidate: 3.1.0-RC2

All Versions

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

Version Vulnerabilities Updated
3.1.x
jakarta.persistence-api-3.1.0
jakarta.persistence-api-3.1.0-RC2
jakarta.persistence-api-3.1.0-RC1
3.0.x
jakarta.persistence-api-3.0.0
jakarta.persistence-api-3.0.0-RC2
jakarta.persistence-api-3.0.0-RC1
2.2.x
jakarta.persistence-api-2.2.3
jakarta.persistence-api-2.2.2
jakarta.persistence-api-2.2.1

How to add a dependency to Maven

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

<dependency>
    <groupId>jakarta.persistence</groupId>
    <artifactId>jakarta.persistence-api</artifactId>
    <version>3.1.0</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'jakarta.persistence:jakarta.persistence-api:3.1.0'

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

implementation("jakarta.persistence:jakarta.persistence-api:3.1.0")

How to add a dependency to SBT Scala

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

libraryDependencies += "jakarta.persistence" % "jakarta.persistence-api" % "3.1.0"

Advertisement