Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Keith2013-06-20 17:16:55 -0400
committerMike Keith2013-06-20 17:16:55 -0400
commitc65eb34c11f08d108a3cb49b1068b34253304dc9 (patch)
treee32ad817c7c3948e9ae25139574084b1eb281234
parent28b866ee9d7c4b164d5b94fc3058d98112ee0516 (diff)
downloadorg.eclipse.gemini.jpa-c65eb34c11f08d108a3cb49b1068b34253304dc9.tar.gz
org.eclipse.gemini.jpa-c65eb34c11f08d108a3cb49b1068b34253304dc9.tar.xz
org.eclipse.gemini.jpa-c65eb34c11f08d108a3cb49b1068b34253304dc9.zip
Add tests for bug #381369
Update test versions to 1.2
-rw-r--r--org.eclipse.gemini.jpa.feature/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.sample.basic/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.sample.configadmin.gen/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.sample.configadmin.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.sample.configadmin/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.samples.feature/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.source.feature/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.targetdef/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.basic.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.basic/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.common/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.configadmin.gen/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.configadmin.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.configadmin.pu2/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.configadmin/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.driverversion.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.driverversion/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.embeddedjdbc.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.embeddedjdbc/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.embeddedpunit.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.embeddedpunit/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.emptypunit.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.emptypunit/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.jndi.gen/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.jndi.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.jndi/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.mongo.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.mongo/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.multiemf.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.multiemf/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/.classpath7
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/.project45
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/META-INF/MANIFEST.MF20
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/build.properties4
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/pom.xml30
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/Activator.java41
-rw-r--r--org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/TestNativeEMF.java102
-rw-r--r--org.eclipse.gemini.jpa.test.temploader.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.temploader/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.unlisted.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.unlisted/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.weaved.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.weaved/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.xmlmapped.pu/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.test.xmlmapped/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa.updatesite/pom.xml2
-rw-r--r--org.eclipse.gemini.jpa/pom.xml2
-rw-r--r--pom.xml2
48 files changed, 290 insertions, 41 deletions
diff --git a/org.eclipse.gemini.jpa.feature/pom.xml b/org.eclipse.gemini.jpa.feature/pom.xml
index 69b037b..ca3c5be 100644
--- a/org.eclipse.gemini.jpa.feature/pom.xml
+++ b/org.eclipse.gemini.jpa.feature/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.feature</artifactId>
diff --git a/org.eclipse.gemini.jpa.sample.basic/pom.xml b/org.eclipse.gemini.jpa.sample.basic/pom.xml
index bee48eb..4ebe6e0 100644
--- a/org.eclipse.gemini.jpa.sample.basic/pom.xml
+++ b/org.eclipse.gemini.jpa.sample.basic/pom.xml
@@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.sample.basic</artifactId>
diff --git a/org.eclipse.gemini.jpa.sample.configadmin.gen/pom.xml b/org.eclipse.gemini.jpa.sample.configadmin.gen/pom.xml
index 0371d90..5f871f1 100644
--- a/org.eclipse.gemini.jpa.sample.configadmin.gen/pom.xml
+++ b/org.eclipse.gemini.jpa.sample.configadmin.gen/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.sample.configadmin.gen</artifactId>
diff --git a/org.eclipse.gemini.jpa.sample.configadmin.pu/pom.xml b/org.eclipse.gemini.jpa.sample.configadmin.pu/pom.xml
index 5214c38..06c3109 100644
--- a/org.eclipse.gemini.jpa.sample.configadmin.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.sample.configadmin.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.sample.configadmin.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.sample.configadmin/pom.xml b/org.eclipse.gemini.jpa.sample.configadmin/pom.xml
index 07b121d..2a2cc4b 100644
--- a/org.eclipse.gemini.jpa.sample.configadmin/pom.xml
+++ b/org.eclipse.gemini.jpa.sample.configadmin/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.sample.configadmin</artifactId>
diff --git a/org.eclipse.gemini.jpa.samples.feature/pom.xml b/org.eclipse.gemini.jpa.samples.feature/pom.xml
index 0c09054..853631e 100644
--- a/org.eclipse.gemini.jpa.samples.feature/pom.xml
+++ b/org.eclipse.gemini.jpa.samples.feature/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.samples.feature</artifactId>
diff --git a/org.eclipse.gemini.jpa.source.feature/pom.xml b/org.eclipse.gemini.jpa.source.feature/pom.xml
index 5f95d5d..6c60cd0 100644
--- a/org.eclipse.gemini.jpa.source.feature/pom.xml
+++ b/org.eclipse.gemini.jpa.source.feature/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0.RELEASE</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.source.feature</artifactId>
diff --git a/org.eclipse.gemini.jpa.targetdef/pom.xml b/org.eclipse.gemini.jpa.targetdef/pom.xml
index 557fff6..ad93f71 100644
--- a/org.eclipse.gemini.jpa.targetdef/pom.xml
+++ b/org.eclipse.gemini.jpa.targetdef/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.targetdef</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.basic.pu/pom.xml b/org.eclipse.gemini.jpa.test.basic.pu/pom.xml
index 9845d5f..80d9495 100644
--- a/org.eclipse.gemini.jpa.test.basic.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.basic.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.basic.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.basic/pom.xml b/org.eclipse.gemini.jpa.test.basic/pom.xml
index 9fc69ba..323314e 100644
--- a/org.eclipse.gemini.jpa.test.basic/pom.xml
+++ b/org.eclipse.gemini.jpa.test.basic/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.basic</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.common/pom.xml b/org.eclipse.gemini.jpa.test.common/pom.xml
index 9de8c12..f3ab107 100644
--- a/org.eclipse.gemini.jpa.test.common/pom.xml
+++ b/org.eclipse.gemini.jpa.test.common/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.common</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.configadmin.gen/pom.xml b/org.eclipse.gemini.jpa.test.configadmin.gen/pom.xml
index 7af4798..b7b923b 100644
--- a/org.eclipse.gemini.jpa.test.configadmin.gen/pom.xml
+++ b/org.eclipse.gemini.jpa.test.configadmin.gen/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse</groupId>
<artifactId>gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.configadmin.gen</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.configadmin.pu/pom.xml b/org.eclipse.gemini.jpa.test.configadmin.pu/pom.xml
index e53e026..7ed2259 100644
--- a/org.eclipse.gemini.jpa.test.configadmin.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.configadmin.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.configadmin.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.configadmin.pu2/pom.xml b/org.eclipse.gemini.jpa.test.configadmin.pu2/pom.xml
index f04004e..dbfed60 100644
--- a/org.eclipse.gemini.jpa.test.configadmin.pu2/pom.xml
+++ b/org.eclipse.gemini.jpa.test.configadmin.pu2/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.configadmin.pu2</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.configadmin/pom.xml b/org.eclipse.gemini.jpa.test.configadmin/pom.xml
index cd64cbd..e60475a 100644
--- a/org.eclipse.gemini.jpa.test.configadmin/pom.xml
+++ b/org.eclipse.gemini.jpa.test.configadmin/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.configadmin</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.driverversion.pu/pom.xml b/org.eclipse.gemini.jpa.test.driverversion.pu/pom.xml
index bafc5a2..923a34c 100644
--- a/org.eclipse.gemini.jpa.test.driverversion.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.driverversion.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.driverversion.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.driverversion/pom.xml b/org.eclipse.gemini.jpa.test.driverversion/pom.xml
index 6a7ec34..5c17f67 100644
--- a/org.eclipse.gemini.jpa.test.driverversion/pom.xml
+++ b/org.eclipse.gemini.jpa.test.driverversion/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.driverversion</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.embeddedjdbc.pu/pom.xml b/org.eclipse.gemini.jpa.test.embeddedjdbc.pu/pom.xml
index a8f1ecd..60aad10 100644
--- a/org.eclipse.gemini.jpa.test.embeddedjdbc.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.embeddedjdbc.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.embeddedjdbc.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.embeddedjdbc/pom.xml b/org.eclipse.gemini.jpa.test.embeddedjdbc/pom.xml
index dbd3221..bd08cc9 100644
--- a/org.eclipse.gemini.jpa.test.embeddedjdbc/pom.xml
+++ b/org.eclipse.gemini.jpa.test.embeddedjdbc/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.embeddedjdbc</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.embeddedpunit.pu/pom.xml b/org.eclipse.gemini.jpa.test.embeddedpunit.pu/pom.xml
index 7011055..af2f957 100644
--- a/org.eclipse.gemini.jpa.test.embeddedpunit.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.embeddedpunit.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.embeddedpunit.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.embeddedpunit/pom.xml b/org.eclipse.gemini.jpa.test.embeddedpunit/pom.xml
index 398df3f..b222d2f 100644
--- a/org.eclipse.gemini.jpa.test.embeddedpunit/pom.xml
+++ b/org.eclipse.gemini.jpa.test.embeddedpunit/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.embeddedpunit</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.emptypunit.pu/pom.xml b/org.eclipse.gemini.jpa.test.emptypunit.pu/pom.xml
index a468e10..75ad85f 100644
--- a/org.eclipse.gemini.jpa.test.emptypunit.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.emptypunit.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.emptypunit.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.emptypunit/pom.xml b/org.eclipse.gemini.jpa.test.emptypunit/pom.xml
index fe0c7b1..a61f35a 100644
--- a/org.eclipse.gemini.jpa.test.emptypunit/pom.xml
+++ b/org.eclipse.gemini.jpa.test.emptypunit/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.emptypunit</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.jndi.gen/pom.xml b/org.eclipse.gemini.jpa.test.jndi.gen/pom.xml
index 547fc5b..1a34c2c 100644
--- a/org.eclipse.gemini.jpa.test.jndi.gen/pom.xml
+++ b/org.eclipse.gemini.jpa.test.jndi.gen/pom.xml
@@ -14,7 +14,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.jndi.gen</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.jndi.pu/pom.xml b/org.eclipse.gemini.jpa.test.jndi.pu/pom.xml
index ef35ad6..3ce8ce8 100644
--- a/org.eclipse.gemini.jpa.test.jndi.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.jndi.pu/pom.xml
@@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.jndi.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.jndi/pom.xml b/org.eclipse.gemini.jpa.test.jndi/pom.xml
index 3fd4b01..94e7073 100644
--- a/org.eclipse.gemini.jpa.test.jndi/pom.xml
+++ b/org.eclipse.gemini.jpa.test.jndi/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.jndi</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.mongo.pu/pom.xml b/org.eclipse.gemini.jpa.test.mongo.pu/pom.xml
index 7c64531..ba84b7e 100644
--- a/org.eclipse.gemini.jpa.test.mongo.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.mongo.pu/pom.xml
@@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.mongo.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.mongo/pom.xml b/org.eclipse.gemini.jpa.test.mongo/pom.xml
index aeb8374..43eb6f0 100644
--- a/org.eclipse.gemini.jpa.test.mongo/pom.xml
+++ b/org.eclipse.gemini.jpa.test.mongo/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.mongo</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.multiemf.pu/pom.xml b/org.eclipse.gemini.jpa.test.multiemf.pu/pom.xml
index 1d39e0f..8dfabb3 100644
--- a/org.eclipse.gemini.jpa.test.multiemf.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.multiemf.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.multiemf.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.multiemf/pom.xml b/org.eclipse.gemini.jpa.test.multiemf/pom.xml
index e597ee9..6836ce4 100644
--- a/org.eclipse.gemini.jpa.test.multiemf/pom.xml
+++ b/org.eclipse.gemini.jpa.test.multiemf/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.multiemf</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/.classpath b/org.eclipse.gemini.jpa.test.nativeapi/.classpath
new file mode 100644
index 0000000..4d87a86
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/.project b/org.eclipse.gemini.jpa.test.nativeapi/.project
new file mode 100644
index 0000000..9e0d8e5
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/.project
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.gemini.jpa.test.nativeapi</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+ <filteredResources>
+ <filter>
+ <id>1332260585800</id>
+ <name></name>
+ <type>10</type>
+ <matcher>
+ <id>org.eclipse.ui.ide.multiFilter</id>
+ <arguments>1.0-name-matches-false-false-target</arguments>
+ </matcher>
+ </filter>
+ </filteredResources>
+</projectDescription>
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/META-INF/MANIFEST.MF b/org.eclipse.gemini.jpa.test.nativeapi/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..b5d18d9
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/META-INF/MANIFEST.MF
@@ -0,0 +1,20 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Gemini JPA Native EclipseLink Tests
+Bundle-SymbolicName: org.eclipse.gemini.jpa.test.nativeapi
+Bundle-Version: 1.2.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Import-Package: javax.persistence;version="1.1.0",
+ javax.persistence.metamodel;version="1.1.0",
+ model.basic;version="1.0.0",
+ org.eclipse.gemini.jpa.test.common;version="1.0.0",
+ org.junit;version="4.8.2",
+ org.junit.runner;version="4.8.2",
+ org.junit.runner.notification;version="4.8.2",
+ org.osgi.framework;version="1.6.0",
+ org.osgi.service.jdbc;version="1.0.0",
+ org.osgi.service.jpa;version="1.0.0",
+ org.osgi.util.tracker;version="1.3.1",
+ org.eclipse.persistence.jpa,
+ org.eclipse.persistence.sessions.server
+Bundle-Activator: org.eclipse.gemini.jpa.test.nativeapi.Activator
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/build.properties b/org.eclipse.gemini.jpa.test.nativeapi/build.properties
new file mode 100644
index 0000000..c4e35e4
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = target/classes
+bin.includes = META-INF/,\
+ .
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/pom.xml b/org.eclipse.gemini.jpa.test.nativeapi/pom.xml
new file mode 100644
index 0000000..5f5efb8
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/pom.xml
@@ -0,0 +1,30 @@
+<!------------------------------------------------------------------------------
+ * Copyright (c) 2010 Oracle.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Apache License v2.0 which accompanies this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Apache License v2.0 is available at
+ * http://www.opensource.org/licenses/apache2.0.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * mkeith - Gemini JPA native EclipseLink tests
+------------------------------------------------------------------------------>
+ <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>org.eclipse.gemini</groupId>
+ <artifactId>org.eclipse.gemini.jpa.parent</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.gemini.jpa.test.nativeapi</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ </build>
+</project> \ No newline at end of file
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/Activator.java b/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/Activator.java
new file mode 100644
index 0000000..06c4890
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/Activator.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Apache License v2.0 which accompanies this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Apache License v2.0 is available at
+ * http://www.opensource.org/licenses/apache2.0.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * mkeith - Gemini JPA Native tests
+ ******************************************************************************/
+package org.eclipse.gemini.jpa.test.nativeapi;
+
+import org.eclipse.gemini.jpa.test.common.TestActivator;
+import org.osgi.framework.BundleContext;
+
+/**
+ * Activator to start tests when relevant service becomes available
+ *
+ * @author mkeith
+ */
+public class Activator extends TestActivator {
+
+ /*====================*/
+ /* Overridden methods */
+ /*====================*/
+
+ String[] classNames = {
+ "TestNativeEMF"
+ };
+
+ public String getTestGroupName() { return "Native"; }
+ public String getTestPackage() { return "org.eclipse.gemini.jpa.test.nativeapi"; }
+ public String[] getTestClasses() { return classNames; }
+ public void setBundleContext(BundleContext ctx) {
+ TestNativeEMF.ctx = ctx;
+ }
+} \ No newline at end of file
diff --git a/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/TestNativeEMF.java b/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/TestNativeEMF.java
new file mode 100644
index 0000000..953f28c
--- /dev/null
+++ b/org.eclipse.gemini.jpa.test.nativeapi/src/org/eclipse/gemini/jpa/test/nativeapi/TestNativeEMF.java
@@ -0,0 +1,102 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Apache License v2.0 which accompanies this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Apache License v2.0 is available at
+ * http://www.opensource.org/licenses/apache2.0.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * mkeith - Gemini JPA Native tests
+ ******************************************************************************/
+package org.eclipse.gemini.jpa.test.nativeapi;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+
+import model.basic.Account;
+
+import org.junit.*;
+import org.osgi.framework.BundleContext;
+
+import org.eclipse.persistence.sessions.server.ServerSession;
+import org.eclipse.persistence.jpa.JpaEntityManagerFactory;
+import org.eclipse.persistence.jpa.JpaEntityManager;
+
+import org.eclipse.gemini.jpa.test.common.JpaTest;
+
+/**
+ * Test class to test accessing native EclipseLink functionality from the client
+ *
+ * @author mkeith
+ */
+public class TestNativeEMF extends JpaTest {
+
+ public static final String TEST_NAME = "TestNativeEMF";
+ public static final String PERSISTENCE_UNIT_UNDER_TEST = "Accounts";
+
+ protected static EntityManagerFactory emf;
+ public static BundleContext ctx;
+
+ /* === Test Methods === */
+
+ @BeforeClass
+ public static void classSetUp() {
+ sdebug(TEST_NAME, "In setup");
+ emf = lookupEntityManagerFactory(TEST_NAME, PERSISTENCE_UNIT_UNDER_TEST, ctx);
+ sdebug(TEST_NAME, "Got EMF - " + emf);
+ }
+
+ @AfterClass
+ public static void classCleanUp() {
+ if (emf != null) {
+ emf.close();
+ emf = null;
+ }
+ }
+
+ @Test
+ public void testGettingNativeEMF() {
+ debug("testGettingNativeEMF");
+
+ JpaEntityManagerFactory nativeEmf = getEmf().unwrap(JpaEntityManagerFactory.class);
+ debug("Got native EMF - " + nativeEmf);
+ ServerSession session = getEmf().unwrap(ServerSession.class);
+ debug("Got ServerSession - " + session.getName());
+ }
+
+ @Test
+ public void testGettingNativeEM() {
+ debug("testGettingNativeEM");
+ EntityManager em = getEmf().createEntityManager();
+ JpaEntityManager nativeEm = em.unwrap(JpaEntityManager.class);
+ debug("Got native EM - " + nativeEm);
+ }
+
+ /* === Subclassed methods === */
+
+ public EntityManagerFactory getEmf() { return emf; }
+
+ public String getTestPersistenceUnitName() { return PERSISTENCE_UNIT_UNDER_TEST; }
+
+ // Cloned these from AccountTest in basic tests
+ public Object newObject() {
+ Account a = new Account();
+ a.setBalance(200.0);
+ return a;
+ }
+
+ public Object findObject() {
+ EntityManager em = getEmf().createEntityManager();
+ Object obj = em.find(Account.class, 1);
+ em.close();
+ return obj;
+ }
+
+ public String queryString() {
+ return "SELECT a FROM Account a";
+ }
+}
diff --git a/org.eclipse.gemini.jpa.test.temploader.pu/pom.xml b/org.eclipse.gemini.jpa.test.temploader.pu/pom.xml
index 91ee43e..506c9d8 100644
--- a/org.eclipse.gemini.jpa.test.temploader.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.temploader.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.temploader.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.temploader/pom.xml b/org.eclipse.gemini.jpa.test.temploader/pom.xml
index b91be9e..d661c9f 100644
--- a/org.eclipse.gemini.jpa.test.temploader/pom.xml
+++ b/org.eclipse.gemini.jpa.test.temploader/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.temploader</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.unlisted.pu/pom.xml b/org.eclipse.gemini.jpa.test.unlisted.pu/pom.xml
index 58f530d..519a24f 100644
--- a/org.eclipse.gemini.jpa.test.unlisted.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.unlisted.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.unlisted.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.unlisted/pom.xml b/org.eclipse.gemini.jpa.test.unlisted/pom.xml
index 2e2d569..aab7814 100644
--- a/org.eclipse.gemini.jpa.test.unlisted/pom.xml
+++ b/org.eclipse.gemini.jpa.test.unlisted/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.unlisted</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.weaved.pu/pom.xml b/org.eclipse.gemini.jpa.test.weaved.pu/pom.xml
index 4bd60f2..c95c195 100644
--- a/org.eclipse.gemini.jpa.test.weaved.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.weaved.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.weaved.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.weaved/pom.xml b/org.eclipse.gemini.jpa.test.weaved/pom.xml
index bea70af..1aff47f 100644
--- a/org.eclipse.gemini.jpa.test.weaved/pom.xml
+++ b/org.eclipse.gemini.jpa.test.weaved/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.weaved</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.xmlmapped.pu/pom.xml b/org.eclipse.gemini.jpa.test.xmlmapped.pu/pom.xml
index e11e34f..a7b2c5b 100644
--- a/org.eclipse.gemini.jpa.test.xmlmapped.pu/pom.xml
+++ b/org.eclipse.gemini.jpa.test.xmlmapped.pu/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.xmlmapped.pu</artifactId>
diff --git a/org.eclipse.gemini.jpa.test.xmlmapped/pom.xml b/org.eclipse.gemini.jpa.test.xmlmapped/pom.xml
index 0228c81..84a92a3 100644
--- a/org.eclipse.gemini.jpa.test.xmlmapped/pom.xml
+++ b/org.eclipse.gemini.jpa.test.xmlmapped/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.test.xmlmapped</artifactId>
diff --git a/org.eclipse.gemini.jpa.updatesite/pom.xml b/org.eclipse.gemini.jpa.updatesite/pom.xml
index 6129431..6a1e751 100644
--- a/org.eclipse.gemini.jpa.updatesite/pom.xml
+++ b/org.eclipse.gemini.jpa.updatesite/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa.updatesite</artifactId>
diff --git a/org.eclipse.gemini.jpa/pom.xml b/org.eclipse.gemini.jpa/pom.xml
index f293fed..00aacce 100644
--- a/org.eclipse.gemini.jpa/pom.xml
+++ b/org.eclipse.gemini.jpa/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
</parent>
<artifactId>org.eclipse.gemini.jpa</artifactId>
diff --git a/pom.xml b/pom.xml
index e1328a2..f4178df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@ To update poms, manifests, and feature.xml files
<groupId>org.eclipse.gemini</groupId>
<artifactId>org.eclipse.gemini.jpa.parent</artifactId>
- <version>1.2.0.M1</version>
+ <version>1.2.0.M2</version>
<packaging>pom</packaging>
<name>Gemini JPA Parent</name>

Back to the top