javax.persistence-api

javax.persistence : javax.persistence-api

Java(TM) Persistence API

Aug 21, 2017
939 usages
89 stars

Add dependency in Maven / Gradle

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

1. Add dependency to a Maven project

Maven: Add the javax.persistence:javax.persistence-api library to the dependencies element of your pom.xml file:

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

To install javax.persistence:javax.persistence-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the javax.persistence:javax.persistence-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'javax.persistence:javax.persistence-api:2.2'
}

Gradle Kotlin DSL: Add the javax.persistence:javax.persistence-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("javax.persistence:javax.persistence-api:2.2")
}

3. Add dependency to a SBT Scala project

Scala: Add the javax.persistence:javax.persistence-api library to your build.sbt file:

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

4. Add dependency to a Grape project

Grape: Add an annotation javax.persistence:javax.persistence-api library to your groovy script file:

@Grapes(
    @Grab('javax.persistence:javax.persistence-api:2.2')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

ttorrent is a pure-Java implementation of the BitTorrent protocol, including support for several BEPs. It also provides a standalone client, a tracker and a torrent manipulation utility.

1.2k stars

APT based Source code generation for Querydsl

160 usages
3.6k stars

Java library for access data from REST API related to PEKA Virtual Monitor.

0 stars

Java client for the Ensembl REST API.

3 stars

More from Group

© 2022 JMaven.com