You can download javax.persistence-api-2.2.jar in this page.
Eclipse Public License v1.0
javax.persistence-api-2.2.jar file has the following types.
META-INF/MANIFEST.MF META-INF/maven/javax.persistence/javax.persistence-api/pom.properties META-INF/maven/javax.persistence/javax.persistence-api/pom.xml javax.persistence.Access.class javax.persistence.AccessType.class javax.persistence.AssociationOverride.class javax.persistence.AssociationOverrides.class javax.persistence.AttributeConverter.class javax.persistence.AttributeNode.class javax.persistence.AttributeOverride.class javax.persistence.AttributeOverrides.class javax.persistence.Basic.class javax.persistence.Cache.class javax.persistence.CacheRetrieveMode.class javax.persistence.CacheStoreMode.class javax.persistence.Cacheable.class javax.persistence.CascadeType.class javax.persistence.CollectionTable.class javax.persistence.Column.class javax.persistence.ColumnResult.class javax.persistence.ConstraintMode.class javax.persistence.ConstructorResult.class javax.persistence.Convert.class javax.persistence.Converter.class javax.persistence.Converts.class javax.persistence.DiscriminatorColumn.class javax.persistence.DiscriminatorType.class javax.persistence.DiscriminatorValue.class javax.persistence.ElementCollection.class javax.persistence.Embeddable.class javax.persistence.Embedded.class javax.persistence.EmbeddedId.class javax.persistence.Entity.class javax.persistence.EntityExistsException.class javax.persistence.EntityGraph.class javax.persistence.EntityListeners.class javax.persistence.EntityManager.class javax.persistence.EntityManagerFactory.class javax.persistence.EntityNotFoundException.class javax.persistence.EntityResult.class javax.persistence.EntityTransaction.class javax.persistence.EnumType.class javax.persistence.Enumerated.class javax.persistence.ExcludeDefaultListeners.class javax.persistence.ExcludeSuperclassListeners.class javax.persistence.FetchType.class javax.persistence.FieldResult.class javax.persistence.FlushModeType.class javax.persistence.ForeignKey.class javax.persistence.GeneratedValue.class javax.persistence.GenerationType.class javax.persistence.Id.class javax.persistence.IdClass.class javax.persistence.Index.class javax.persistence.Inheritance.class javax.persistence.InheritanceType.class javax.persistence.JoinColumn.class javax.persistence.JoinColumns.class javax.persistence.JoinTable.class javax.persistence.Lob.class javax.persistence.LockModeType.class javax.persistence.LockTimeoutException.class javax.persistence.ManyToMany.class javax.persistence.ManyToOne.class javax.persistence.MapKey.class javax.persistence.MapKeyClass.class javax.persistence.MapKeyColumn.class javax.persistence.MapKeyEnumerated.class javax.persistence.MapKeyJoinColumn.class javax.persistence.MapKeyJoinColumns.class javax.persistence.MapKeyTemporal.class javax.persistence.MappedSuperclass.class javax.persistence.MapsId.class javax.persistence.NamedAttributeNode.class javax.persistence.NamedEntityGraph.class javax.persistence.NamedEntityGraphs.class javax.persistence.NamedNativeQueries.class javax.persistence.NamedNativeQuery.class javax.persistence.NamedQueries.class javax.persistence.NamedQuery.class javax.persistence.NamedStoredProcedureQueries.class javax.persistence.NamedStoredProcedureQuery.class javax.persistence.NamedSubgraph.class javax.persistence.NoResultException.class javax.persistence.NonUniqueResultException.class javax.persistence.OneToMany.class javax.persistence.OneToOne.class javax.persistence.OptimisticLockException.class javax.persistence.OrderBy.class javax.persistence.OrderColumn.class javax.persistence.Parameter.class javax.persistence.ParameterMode.class javax.persistence.Persistence.class javax.persistence.PersistenceContext.class javax.persistence.PersistenceContextType.class javax.persistence.PersistenceContexts.class javax.persistence.PersistenceException.class javax.persistence.PersistenceProperty.class javax.persistence.PersistenceUnit.class javax.persistence.PersistenceUnitUtil.class javax.persistence.PersistenceUnits.class javax.persistence.PersistenceUtil.class javax.persistence.PessimisticLockException.class javax.persistence.PessimisticLockScope.class javax.persistence.PostLoad.class javax.persistence.PostPersist.class javax.persistence.PostRemove.class javax.persistence.PostUpdate.class javax.persistence.PrePersist.class javax.persistence.PreRemove.class javax.persistence.PreUpdate.class javax.persistence.PrimaryKeyJoinColumn.class javax.persistence.PrimaryKeyJoinColumns.class javax.persistence.Query.class javax.persistence.QueryHint.class javax.persistence.QueryTimeoutException.class javax.persistence.RollbackException.class javax.persistence.SecondaryTable.class javax.persistence.SecondaryTables.class javax.persistence.SequenceGenerator.class javax.persistence.SequenceGenerators.class javax.persistence.SharedCacheMode.class javax.persistence.SqlResultSetMapping.class javax.persistence.SqlResultSetMappings.class javax.persistence.StoredProcedureParameter.class javax.persistence.StoredProcedureQuery.class javax.persistence.Subgraph.class javax.persistence.SynchronizationType.class javax.persistence.Table.class javax.persistence.TableGenerator.class javax.persistence.TableGenerators.class javax.persistence.Temporal.class javax.persistence.TemporalType.class javax.persistence.TransactionRequiredException.class javax.persistence.Transient.class javax.persistence.Tuple.class javax.persistence.TupleElement.class javax.persistence.TypedQuery.class javax.persistence.UniqueConstraint.class javax.persistence.ValidationMode.class javax.persistence.Version.class javax.persistence.criteria.AbstractQuery.class javax.persistence.criteria.CollectionJoin.class javax.persistence.criteria.CommonAbstractCriteria.class javax.persistence.criteria.CompoundSelection.class javax.persistence.criteria.CriteriaBuilder.class javax.persistence.criteria.CriteriaDelete.class javax.persistence.criteria.CriteriaQuery.class javax.persistence.criteria.CriteriaUpdate.class javax.persistence.criteria.Expression.class javax.persistence.criteria.Fetch.class javax.persistence.criteria.FetchParent.class javax.persistence.criteria.From.class javax.persistence.criteria.Join.class javax.persistence.criteria.JoinType.class javax.persistence.criteria.ListJoin.class javax.persistence.criteria.MapJoin.class javax.persistence.criteria.Order.class javax.persistence.criteria.ParameterExpression.class javax.persistence.criteria.Path.class javax.persistence.criteria.PluralJoin.class javax.persistence.criteria.Predicate.class javax.persistence.criteria.Root.class javax.persistence.criteria.Selection.class javax.persistence.criteria.SetJoin.class javax.persistence.criteria.Subquery.class javax.persistence.metamodel.Attribute.class javax.persistence.metamodel.BasicType.class javax.persistence.metamodel.Bindable.class javax.persistence.metamodel.CollectionAttribute.class javax.persistence.metamodel.EmbeddableType.class javax.persistence.metamodel.EntityType.class javax.persistence.metamodel.IdentifiableType.class javax.persistence.metamodel.ListAttribute.class javax.persistence.metamodel.ManagedType.class javax.persistence.metamodel.MapAttribute.class javax.persistence.metamodel.MappedSuperclassType.class javax.persistence.metamodel.Metamodel.class javax.persistence.metamodel.PluralAttribute.class javax.persistence.metamodel.SetAttribute.class javax.persistence.metamodel.SingularAttribute.class javax.persistence.metamodel.StaticMetamodel.class javax.persistence.metamodel.Type.class javax.persistence.spi.ClassTransformer.class javax.persistence.spi.LoadState.class javax.persistence.spi.PersistenceProvider.class javax.persistence.spi.PersistenceProviderResolver.class javax.persistence.spi.PersistenceProviderResolverHolder.class javax.persistence.spi.PersistenceUnitInfo.class javax.persistence.spi.PersistenceUnitTransactionType.class javax.persistence.spi.ProviderUtil.class javax/persistence/orm_1_0.xsd javax/persistence/orm_2_0.xsd javax/persistence/orm_2_1.xsd javax/persistence/orm_2_2.xsd javax/persistence/persistence_1_0.xsd javax/persistence/persistence_2_0.xsd javax/persistence/persistence_2_1.xsd javax/persistence/persistence_2_2.xsd
javax.persistence-api-2.2.pom file content.
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 which accompanies this distribution. The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse Distribution License is available at http://www.eclipse.org/org/documents/edl-v10.php. Contributors: Lukas Jungmann - initial implementation --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.java</groupId> <artifactId>jvnet-parent</artifactId> <version>5</version> </parent> <groupId>javax.persistence</groupId> <artifactId>javax.persistence-api</artifactId> <version>2.2</version> <description>Java(TM) Persistence API</description> <url>https://github.com/javaee/jpa-spec</url> <licenses> <license> <name>Eclipse Public License v1.0</name> <url>http://www.eclipse.org/legal/epl-v10.html</url> <distribution>repo</distribution> <comments>Standard Eclipse Licence</comments> </license> <license> <name>Eclipse Distribution License v. 1.0</name> <url>http://www.eclipse.org/org/documents/edl-v10.php</url> <distribution>repo</distribution> <comments>Standard Eclipse Distribution License</comments> </license> </licenses> <issueManagement> <system>IssueTracker</system> <url>https://github.com/javaee/jpa-spec/issues</url> </issueManagement> <mailingLists> <mailingList> <name>JPA Specification Group</name> <subscribe>jpa-spec+subscribe@javaee.groups.io</subscribe> <post>jpa-spec@javaee.groups.io</post> <archive>https://javaee.groups.io/g/jpa-spec/topics</archive> </mailingList> </mailingLists> <scm> <connection>scm:git:git://github.com/javaee/jpa-spec.git</connection> <developerConnection>scm:git:git@github.com:javaee/jpa-spec.git</developerConnection> <url>https://github.com/javaee/jpa-spec.git</url> <tag>javax.persistence-api-2.2</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <spec.non.final>false</spec.non.final> <spec.version>2.2</spec.version> <spec.build>01</spec.build> <spec.impl.version>2.2</spec.impl.version> <spec.api.package>javax.persistence</spec.api.package> <spec.new.spec.version>2.3</spec.new.spec.version> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <version>1.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.2</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9.5</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <configuration> <rules> <requireJavaVersion> <version>[1.8,)</version> </requireJavaVersion> </rules> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>display-info</goal> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <configuration> <spec> <nonFinal>${spec.non.final}</nonFinal> <jarType>api</jarType> <specVersion>${spec.version}</specVersion> <specBuild>${spec.build}</specBuild> <specImplVersion>${spec.impl.version}</specImplVersion> <apiPackage>${spec.api.package}</apiPackage> <newSpecVersion>${spec.new.spec.version}</newSpecVersion> </spec> </configuration> <executions> <execution> <goals> <goal>set-spec-properties</goal> <goal>check-module</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> <compilerArg>-Xlint:all</compilerArg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Automatic-Module-Name>java.persistence</Automatic-Module-Name> <Bundle-Description>Java(TM) Persistence ${spec.specification.version} API jar</Bundle-Description> <Bundle-Name>Java(TM) Persistence API jar</Bundle-Name> <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName> <Bundle-Version>${spec.bundle.version}</Bundle-Version> <Extension-Name>${spec.extension.name}</Extension-Name> <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> <Implementation-Vendor-Id>com.oracle</Implementation-Vendor-Id> <Implementation-Version>${spec.implementation.version}</Implementation-Version> <Specification-Vendor>${project.groupId}.${project.artifactId}</Specification-Vendor> <Specification-Vendor>Oracle Corporation</Specification-Vendor> <Specification-Version>${spec.specification.version}</Specification-Version> </instructions> </configuration> <executions> <execution> <id>osgi-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalparam>-Xdoclint:all</additionalparam> </configuration> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>${release.arguments}</arguments> </configuration> </plugin> </plugins> </build> </project>
<dependency> <groupId>javax.persistence</groupId> <artifactId>javax.persistence-api</artifactId> <version>2.2</version> </dependency>
If you think the following javax.persistence-api-2.2.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download javax.persistence-api-2.2.jar file