Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f60cd4
commit ba8a06e
Showing
193 changed files
with
17,219 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>javax.persistence</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
javax.persistence | ||
================= | ||
|
||
Java Persistence API | ||
Clean-room definition of JPA API intended for transitory use in DataNucleus JPA development. | ||
|
||
See http://java.net/projects/jpa-spec/downloads for specification used. | ||
|
||
|
||
Legal | ||
----- | ||
Copyright (c) 2008, 2009, 2011 Oracle, Inc. 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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> | ||
|
||
<groupId>org.datanucleus</groupId> | ||
<artifactId>javax.persistence</artifactId> | ||
<version>2.1</version> | ||
<name>JPA API</name> | ||
<description>The Java Persistence API (JPA) is a standard interface-based Java model abstraction of persistence, developed by the JCP.</description> | ||
|
||
<dependencies> | ||
<!--dependency> | ||
<groupId>javax.transaction</groupId> | ||
<artifactId>transaction-api</artifactId> | ||
<version>1.1</version> | ||
</dependency--> | ||
|
||
<dependency> | ||
<groupId>org.apache.ant</groupId> | ||
<artifactId>ant</artifactId> | ||
<version>1.7.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<!--dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.10</version> | ||
<scope>test</scope> | ||
</dependency--> | ||
</dependencies> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<connection>scm:git:git@github.com:datanucleus/javax.persistence.git</connection> | ||
<developerConnection>scm:git:git@github.com:datanucleus/javax.persistence.git</developerConnection> | ||
<url>https://github.com/datanucleus/</url> | ||
</scm> | ||
|
||
<developers> | ||
<developer> | ||
<id>andy</id> | ||
<name>Andy</name> | ||
<organization>DataNucleus</organization> | ||
</developer> | ||
</developers> | ||
|
||
<properties> | ||
<encoding>UTF-8</encoding> | ||
<maven.compiler.source>1.7</maven.compiler.source> | ||
<maven.compiler.target>1.7</maven.compiler.target> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<showWarnings>true</showWarnings> | ||
<fork>true</fork> | ||
<compilerArgument>-Xlint:unchecked</compilerArgument> | ||
<compilerArguments> | ||
<bootclasspath>${JAVA7_HOME}/jre/lib/rt.jar:${JAVA7_HOME}/jre/lib/jce.jar</bootclasspath> | ||
</compilerArguments> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>2.4.0</version> | ||
<extensions>true</extensions> | ||
<executions> | ||
<execution> | ||
<phase>process-classes</phase> | ||
<goals> | ||
<goal>manifest</goal> | ||
</goals> | ||
<configuration> | ||
<instructions> | ||
<Bundle-SymbolicName>javax.persistence</Bundle-SymbolicName> | ||
<Import-Package> | ||
javax.transaction;resolution:=optional, | ||
* | ||
</Import-Package> | ||
</instructions> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<!-- Pick the MANIFEST generated by the bundle plugin --> | ||
<archive> | ||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9.1</version> | ||
</plugin> | ||
</plugins> | ||
|
||
<extensions> | ||
<extension> | ||
<groupId>org.apache.maven.wagon</groupId> | ||
<artifactId>wagon-ssh-external</artifactId> | ||
<version>2.2</version> | ||
</extension> | ||
</extensions> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release-sign-artifacts</id> | ||
<activation> | ||
<property> | ||
<name>performRelease</name> | ||
<value>true</value> | ||
</property> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.1</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
<distributionManagement> | ||
<!-- For nightly build process --> | ||
<snapshotRepository> | ||
<id>datanucleus-nightly</id> | ||
<name>DataNucleus Nightly</name> | ||
<url>file:${user.home}/htdocs/downloads/maven2-nightly/</url> | ||
<uniqueVersion>false</uniqueVersion> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2008, 2009, 2011 Oracle, Inc. 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. | ||
*/ | ||
package javax.persistence; | ||
|
||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.Target; | ||
|
||
import static java.lang.annotation.ElementType.FIELD; | ||
import static java.lang.annotation.ElementType.METHOD; | ||
import static java.lang.annotation.ElementType.TYPE; | ||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
|
||
/** | ||
* Used to specify an access type to be applied to an entity class, | ||
* mapped superclass, or embeddable class, or to a specific attribute | ||
* of such a class. | ||
* | ||
* @since Java Persistence 2.0 | ||
*/ | ||
@Target( { TYPE, METHOD, FIELD }) | ||
@Retention(RUNTIME) | ||
public @interface Access { | ||
|
||
/** | ||
* (Required) Specification of field- or property-based access. | ||
*/ | ||
AccessType value(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright (c) 2008, 2009, 2011 Oracle, Inc. 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. | ||
*/ | ||
package javax.persistence; | ||
|
||
/** | ||
* Is used with the {@link Access} annotation to specify an access | ||
* type to be applied to an entity class, mapped superclass, or | ||
* embeddable class, or to a specific attribute of such a class. | ||
* | ||
* @see Access | ||
* | ||
* @since Java Persistence 2.0 | ||
*/ | ||
public enum AccessType { | ||
|
||
/** Field-based access is used. */ | ||
FIELD, | ||
|
||
/** Property-based access is used. */ | ||
PROPERTY | ||
} |
Oops, something went wrong.