You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pc...@apache.org on 2008/02/15 10:20:40 UTC
svn commit: r627979 [39/39] - in /openjpa/trunk:
openjpa-lib/src/test/java/org/apache/openjpa/lib/test/
openjpa-persistence-jdbc/ openjpa-persistence-jdbc/src/test/java/
openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/
openjpa-per...
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/QueryTest4.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/QueryTest4.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/QueryTest4.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/QueryTest4.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import java.util.Collection;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.ManyToMany;
+import javax.persistence.OneToOne;
+
+/**
+ * <p>Used in testing; should be enhanced.</p>
+ *
+ * @author Abe White
+ */
+@Entity
+public class QueryTest4 {
+
+ public int num3 = 0;
+ @OneToOne(cascade = { CascadeType.ALL })
+ public QueryTest2 oneToOne2 = null;
+
+ @OneToOne(cascade = { CascadeType.ALL })
+ public QueryTest2 oneToOne3 = null;
+
+ @ManyToMany(cascade = { CascadeType.ALL })
+ public Collection<QueryTest2> manyToMany3 = null;
+
+ public int getNum3() {
+ return num3;
+ }
+
+ public void setNum3(int val) {
+ num3 = val;
+ }
+
+ public void setOneToOne2(QueryTest2 qt2) {
+ oneToOne2 = qt2;
+ }
+
+ public void setOneToOne3(QueryTest2 qt2) {
+ oneToOne3 = qt2;
+ }
+
+ public void setManyToMany3(Collection<QueryTest2> val) {
+ manyToMany3 = val;
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest1.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest1.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest1.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest1.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,283 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Locale;
+import java.util.Set;
+import javax.persistence.CascadeType;
+import javax.persistence.DiscriminatorValue;
+import javax.persistence.Entity;
+import javax.persistence.OneToOne;
+
+import org.apache.openjpa.persistence.PersistentCollection;
+
+/**
+ * <p>Persitent type used in testing.</p>
+ *
+ * @author Abe White
+ */
+@Entity
+@DiscriminatorValue("RT1")
+public class RuntimeTest1 implements Serializable {
+
+ public static final String someStaticField = "someField";
+
+ private byte byteField;
+ private boolean booleanField;
+ private char charField;
+ private double doubleField;
+ private float floatField;
+ private int intField;
+ private long longField;
+ private short shortField;
+ private String stringField;
+ private BigInteger bigIntegerField;
+ private BigDecimal bigDecimalField;
+ private Date dateField;
+ private Locale localeField;
+ private Byte byteObjfield;
+ private Boolean booleanObjField;
+ private Character charObjField;
+ private Double doubleObjField;
+ private Float floatObjField;
+ private Integer intObjField;
+ private Long longObjField;
+ private Short shortObjField;
+
+ // transactional only
+ private TransactionalClassPC transField;
+ public String transString;
+
+ // relations
+ @OneToOne(cascade = { CascadeType.ALL })
+ private RuntimeTest1 selfOneOne;
+ @PersistentCollection
+ private Set selfOneMany = new HashSet();
+
+ public RuntimeTest1() {
+ }
+
+ public RuntimeTest1(int key) {
+ this.intField = key;
+ floatField = 1.0f;
+ }
+
+ public RuntimeTest1(String str, int i) {
+ stringField = str;
+ intField = i;
+ floatField = 1.0f;
+ }
+
+ public byte getByteField() {
+ return this.byteField;
+ }
+
+ public void setByteField(byte byteField) {
+ this.byteField = byteField;
+ }
+
+ public boolean getBooleanField() {
+ return this.booleanField;
+ }
+
+ public void setBooleanField(boolean booleanField) {
+ this.booleanField = booleanField;
+ }
+
+ public char getCharField() {
+ return this.charField;
+ }
+
+ public void setCharField(char charField) {
+ this.charField = charField;
+ }
+
+ public double getDoubleField() {
+ return this.doubleField;
+ }
+
+ public void setDoubleField(double doubleField) {
+ this.doubleField = doubleField;
+ }
+
+ public float getFloatField() {
+ return this.floatField;
+ }
+
+ public void setFloatField(float floatField) {
+ this.floatField = floatField;
+ }
+
+ public int getIntField() {
+ return this.intField;
+ }
+
+ public void setIntField(int intField) {
+ this.intField = intField;
+ }
+
+ public long getLongField() {
+ return this.longField;
+ }
+
+ public void setLongField(long longField) {
+ this.longField = longField;
+ }
+
+ public short getShortField() {
+ return this.shortField;
+ }
+
+ public void setShortField(short shortField) {
+ this.shortField = shortField;
+ }
+
+ public String getStringField() {
+ return this.stringField;
+ }
+
+ public void setStringField(String stringField) {
+ this.stringField = stringField;
+ }
+
+ public BigInteger getBigIntegerField() {
+ return this.bigIntegerField;
+ }
+
+ public void setBigIntegerField(BigInteger bigIntegerField) {
+ this.bigIntegerField = bigIntegerField;
+ }
+
+ public BigDecimal getBigDecimalField() {
+ return this.bigDecimalField;
+ }
+
+ public void setBigDecimalField(BigDecimal bigDecimalField) {
+ this.bigDecimalField = bigDecimalField;
+ }
+
+ public Date getDateField() {
+ return this.dateField;
+ }
+
+ public void setDateField(Date dateField) {
+ this.dateField = dateField;
+ }
+
+ public Locale getLocaleField() {
+ return this.localeField;
+ }
+
+ public void setLocaleField(Locale localeField) {
+ this.localeField = localeField;
+ }
+
+ public Byte getByteObjfield() {
+ return this.byteObjfield;
+ }
+
+ public void setByteObjfield(Byte byteObjfield) {
+ this.byteObjfield = byteObjfield;
+ }
+
+ public Boolean getBooleanObjField() {
+ return this.booleanObjField;
+ }
+
+ public void setBooleanObjField(Boolean booleanObjField) {
+ this.booleanObjField = booleanObjField;
+ }
+
+ public Character getCharObjField() {
+ return this.charObjField;
+ }
+
+ public void setCharObjField(Character charObjField) {
+ this.charObjField = charObjField;
+ }
+
+ public Double getDoubleObjField() {
+ return this.doubleObjField;
+ }
+
+ public void setDoubleObjField(Double doubleObjField) {
+ this.doubleObjField = doubleObjField;
+ }
+
+ public Float getFloatObjField() {
+ return this.floatObjField;
+ }
+
+ public void setFloatObjField(Float floatObjField) {
+ this.floatObjField = floatObjField;
+ }
+
+ public Integer getIntObjField() {
+ return this.intObjField;
+ }
+
+ public void setIntObjField(Integer intObjField) {
+ this.intObjField = intObjField;
+ }
+
+ public Long getLongObjField() {
+ return this.longObjField;
+ }
+
+ public void setLongObjField(Long longObjField) {
+ this.longObjField = longObjField;
+ }
+
+ public Short getShortObjField() {
+ return this.shortObjField;
+ }
+
+ public void setShortObjField(Short shortObjField) {
+ this.shortObjField = shortObjField;
+ }
+
+ public TransactionalClassPC getTransField() {
+ return this.transField;
+ }
+
+ public void setTransField(TransactionalClassPC transField) {
+ this.transField = transField;
+ }
+
+ public RuntimeTest1 getSelfOneOne() {
+ return this.selfOneOne;
+ }
+
+ public void setSelfOneOne(RuntimeTest1 selfOneOne) {
+ this.selfOneOne = selfOneOne;
+ }
+
+ public Set getSelfOneMany() {
+ return this.selfOneMany;
+ }
+
+ public void setSelfOneMany(Set selfOneMany) {
+ this.selfOneMany = selfOneMany;
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest2.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest2.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest2.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest2.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import javax.persistence.DiscriminatorValue;
+import javax.persistence.Entity;
+
+/**
+ * <p>Persitent type used in testing.</p>
+ *
+ * @author Abe White
+ */
+@Entity
+@DiscriminatorValue("RT2")
+public class RuntimeTest2 extends RuntimeTest1 {
+
+ private static final long serialVersionUID = 1L;
+ private int intField2;
+
+ public RuntimeTest2() {
+ }
+
+ public RuntimeTest2(int key) {
+ super(key);
+ }
+
+ public RuntimeTest2(String str, int i) {
+ super(str, i);
+ }
+
+ public int getIntField2() {
+ return this.intField2;
+ }
+
+ public void setIntField2(int intField2) {
+ this.intField2 = intField2;
+ }
+
+ public String toString() {
+ return "IntField: " + intField2 + ", StringField: " +
+ super.getStringField() + " .";
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest3.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest3.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest3.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest3.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import javax.persistence.DiscriminatorValue;
+import javax.persistence.Entity;
+
+/**
+ * <p>Persitent type used in testing.</p>
+ *
+ * @author Abe White
+ */
+@Entity
+@DiscriminatorValue("RT3")
+public class RuntimeTest3 extends RuntimeTest2 {
+
+ private int intField3;
+
+ public RuntimeTest3() {
+ }
+
+ public RuntimeTest3(String str, int i) {
+ super(str, i);
+ }
+
+ public int getIntField3() {
+ return this.intField3;
+ }
+
+ public void setIntField3(int intField3) {
+ this.intField3 = intField3;
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest4.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest4.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest4.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest4.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import javax.persistence.Entity;
+
+@Entity
+public class RuntimeTest4 {
+
+ private String name;
+ private Collection runtimeTest5s = new ArrayList();
+
+ public RuntimeTest4(String str) {
+ name = str;
+ }
+
+ public void setName(String val) {
+ name = val;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public Collection getRuntimeTest5s() {
+ return runtimeTest5s;
+ }
+
+ public void setRuntimeTest5s(Collection c) {
+ runtimeTest5s = c;
+ }
+}
\ No newline at end of file
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest5.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest5.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest5.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/RuntimeTest5.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,52 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.OneToOne;
+
+@Entity
+public class RuntimeTest5 {
+
+ private String name;
+
+ @OneToOne(cascade = { CascadeType.ALL })
+ private RuntimeTest4 runtimeTest4;
+
+ public RuntimeTest5(String str) {
+ name = str;
+ }
+
+ public void setName(String val) {
+ name = val;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setRuntimeTest4(RuntimeTest4 val) {
+ runtimeTest4 = val;
+ }
+
+ public RuntimeTest4 getRuntimeTest4() {
+ return runtimeTest4;
+ }
+}
\ No newline at end of file
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/SimpleAppIdPC.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/SimpleAppIdPC.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/SimpleAppIdPC.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/SimpleAppIdPC.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,52 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+/**
+ * <p>Single-field application identity class.</p>
+ *
+ * @author Abe White
+ */
+@Entity
+public class SimpleAppIdPC {
+
+ @Id
+ private String pk;
+
+ private int intField;
+
+ public String getPk() {
+ return this.pk;
+ }
+
+ public void setPk(String pk) {
+ this.pk = pk;
+ }
+
+ public int getIntField() {
+ return this.intField;
+ }
+
+ public void setIntField(int intField) {
+ this.intField = intField;
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/TransactionalClassPC.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/TransactionalClassPC.java?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/TransactionalClassPC.java (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/common/apps/TransactionalClassPC.java Fri Feb 15 01:19:55 2008
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.persistence.query.common.apps;
+
+import javax.persistence.Entity;
+
+@Entity
+public class TransactionalClassPC {
+
+ private int intField;
+
+ public int getIntField() {
+ return this.intField;
+ }
+
+ public void setIntField(int intField) {
+ this.intField = intField;
+ }
+}
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/orm.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/orm.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/orm.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/orm.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
+ http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
+version="1.0">
+
+<persistence-unit-metadata>
+ <persistence-unit-defaults>
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.DefaultCallbackListener">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ <pre-remove method-name="preRemove" />
+ <post-remove method-name="postRemove" />
+ <pre-update method-name="preUpdate" />
+ <post-update method-name="postUpdate" />
+ <post-load method-name="postLoad" />
+ </entity-listener>
+ </entity-listeners>
+ </persistence-unit-defaults>
+</persistence-unit-metadata>
+
+<!-- <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Schedule" metadata-complete="true">
+ <description>
+ Schedule class represents the superclass of this app...
+ </description>
+ <inheritance strategy="TABLE_PER_CLASS" />
+
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.DateValidator">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ </entity-listener>
+
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.StringValidator">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ </entity-listener>
+ </entity-listeners>
+
+ <attributes>
+ <id name="id">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="dob">
+ <temporal>DATE</temporal>
+ </basic>
+ <basic name="startDate">
+ <temporal>TIME</temporal>
+ </basic>
+ <basic name="endDate">
+ <temporal>TIMESTAMP</temporal>
+ </basic>
+ <basic name="name">
+ </basic>
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.FlightSchedule" metadata-complete="true">
+ <description>
+ FlightSchedule, subclass of schedule specifies the real life flight schedule
+ </description>
+
+ <table name="Flight_Sched">
+ <unique-constraint>
+ <column-name>planeName</column-name>
+ </unique-constraint>
+ </table>
+
+ <attributes>
+ <id name="FlightNum">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="planeName">
+ <column name="flight_name"/>
+ </basic>
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Employee" metadata-complete="true">
+ <inheritance strategy="JOINED" />
+
+ <entity-listeners>
+ <entity-listener class="annotations.common.apps.NameValidator">
+ <pre-persist method-name="validateName" />
+ <pre-remove method-name="validateNothing1" />
+ <post-remove method-name="validateNothing" />
+ <post-update method-name="testpost" />
+ </entity-listener>
+
+ <entity-listener class="annotations.common.apps.LongNameValidator">
+ <pre-persist method-name="validateName" />
+ <post-update method-name="testpost" />
+ </entity-listener>
+ </entity-listeners>
+
+ <attributes>
+ <id name="id">
+ </id>
+ <basic name="name">
+ </basic>
+ <transient name="syncTime" />
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.ContractEmployee" metadata-complete="true">
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.TxRollbackEntity" metadata-complete="true">
+ </entity> -->
+
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.LifeCycleDDEntity">
+ <exclude-default-listeners />
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.EntityDDListener">
+ <post-remove method-name="verifyPostRemove" />
+ <post-update method-name="verifyPostUpdate" />
+ </entity-listener>
+
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.EntityDDListener2">
+ <pre-update method-name="verifyPreUpdate" />
+ <post-load method-name="verifyPostLoad" />
+ </entity-listener>
+ </entity-listeners>
+
+ <pre-persist method-name="verifyPrePersist" />
+ <post-persist method-name="verifyPostPersist" />
+ <pre-remove method-name="verifyPreRemove" />
+
+ <attributes>
+ <id name="id">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="name">
+ </basic>
+ <basic name="surname">
+ </basic>
+ </attributes>
+ </entity>
+</entity-mappings>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbedOwner</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.AnnoTest1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.AnnoTest2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.AnnoTest3</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.ContractEmployee</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Employee</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Entity1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Entity2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Flat1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Flat2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Generator</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.TablePerClass1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.TablePerClass2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.OrderByEntity</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbeddableSuperSub</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.PropertyAccess1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbeddedIdEntity</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbedValue</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbedValue2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Schedule</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.FlightSchedule</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbeddedIdClass</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.EmbeddableSuper</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.TxRollbackEntity</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/orm.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/orm.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/orm.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/orm.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
+ http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
+version="1.0">
+
+<persistence-unit-metadata>
+ <persistence-unit-defaults>
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.DefaultCallbackListener">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ <pre-remove method-name="preRemove" />
+ <post-remove method-name="postRemove" />
+ <pre-update method-name="preUpdate" />
+ <post-update method-name="postUpdate" />
+ <post-load method-name="postLoad" />
+ </entity-listener>
+ </entity-listeners>
+ </persistence-unit-defaults>
+</persistence-unit-metadata>
+
+<!-- <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Schedule" metadata-complete="true">
+ <description>
+ Schedule class represents the superclass of this app...
+ </description>
+ <inheritance strategy="TABLE_PER_CLASS" />
+
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.DateValidator">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ </entity-listener>
+
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.StringValidator">
+ <pre-persist method-name="prePersist" />
+ <post-persist method-name="postPersist" />
+ </entity-listener>
+ </entity-listeners>
+
+ <attributes>
+ <id name="id">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="dob">
+ <temporal>DATE</temporal>
+ </basic>
+ <basic name="startDate">
+ <temporal>TIME</temporal>
+ </basic>
+ <basic name="endDate">
+ <temporal>TIMESTAMP</temporal>
+ </basic>
+ <basic name="name">
+ </basic>
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.FlightSchedule" metadata-complete="true">
+ <description>
+ FlightSchedule, subclass of schedule specifies the real life flight schedule
+ </description>
+
+ <table name="Flight_Sched">
+ <unique-constraint>
+ <column-name>planeName</column-name>
+ </unique-constraint>
+ </table>
+
+ <attributes>
+ <id name="FlightNum">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="planeName">
+ <column name="flight_name"/>
+ </basic>
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.Employee" metadata-complete="true">
+ <inheritance strategy="JOINED" />
+
+ <entity-listeners>
+ <entity-listener class="annotations.common.apps.NameValidator">
+ <pre-persist method-name="validateName" />
+ <pre-remove method-name="validateNothing1" />
+ <post-remove method-name="validateNothing" />
+ <post-update method-name="testpost" />
+ </entity-listener>
+
+ <entity-listener class="annotations.common.apps.LongNameValidator">
+ <pre-persist method-name="validateName" />
+ <post-update method-name="testpost" />
+ </entity-listener>
+ </entity-listeners>
+
+ <attributes>
+ <id name="id">
+ </id>
+ <basic name="name">
+ </basic>
+ <transient name="syncTime" />
+ </attributes>
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.ContractEmployee" metadata-complete="true">
+ </entity>
+
+ <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.TxRollbackEntity" metadata-complete="true">
+ </entity> -->
+
+
+ <!-- <entity class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.LifeCycleDDEntity">
+ <exclude-default-listeners />
+ <entity-listeners>
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.EntityDDListener">
+ <post-remove method-name="verifyPostRemove" />
+ <post-update method-name="verifyPostUpdate" />
+ </entity-listener>
+
+ <entity-listener class="org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.EntityDDListener2">
+ <pre-update method-name="verifyPreUpdate" />
+ <post-load method-name="verifyPostLoad" />
+ </entity-listener>
+ </entity-listeners>
+
+ <pre-persist method-name="verifyPrePersist" />
+ <post-persist method-name="verifyPostPersist" />
+ <pre-remove method-name="verifyPreRemove" />
+
+ <attributes>
+ <id name="id">
+ <generated-value strategy="AUTO" />
+ </id>
+ <basic name="name">
+ </basic>
+ <basic name="surname">
+ </basic>
+ </attributes>
+ </entity> -->
+</entity-mappings>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/annotations/common/apps/annotApp/ddtype/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.Employee</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.ContractEmployee</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.TxRollbackEntity</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.LifeCycleDDEntity</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.LifeCycleDDEntity2</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.LifeCycleDDEntitySub</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.Entity1</class>
+ <class>org.apache.openjpa.persistence.annotations.common.apps.annotApp.ddtype.Entity2</class>
+ </persistence-unit>
+
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/cache/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/cache/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/cache/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/cache/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,29 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <class>org.apache.openjpa.persistence.cache.common.apps.Entity1</class>
+ <class>org.apache.openjpa.persistence.cache.common.apps.Entity2</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,45 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>persistence.common.apps.Entity1</class>
+ <class>persistence.common.apps.Entity2</class>
+ <class>persistence.common.apps.RuntimeTest1</class>
+ <class>persistence.common.apps.RuntimeTest2</class>
+ <class>persistence.common.apps.Course</class>
+ <class>persistence.common.apps.Department</class>
+ <class>persistence.common.apps.Student</class>
+ <class>persistence.common.apps.ArtCourse</class>
+ <class>persistence.common.apps.ScienceCourse</class>
+ <class>persistence.common.apps.EmbeddedOwnerPC</class>
+ <class>persistence.common.apps.EmbeddedPC</class>
+ <class>persistence.common.apps.ComplexEmbeddedPC</class>
+ <class>persistence.common.apps.CompUser</class>
+ <class>persistence.common.apps.MaleUser</class>
+ <class>persistence.common.apps.Address</class>
+ <class>persistence.common.apps.FemaleUser</class>
+ <properties>
+ <property name="openjpa.ConnectionFactoryProperties" value="MaxActive=110, MaxIdle=10, ValidationTimeout=50000,
+ MaxCachedStatements=10, ValidationSQL='', MaxWait=10000, TestOnBorrow=true" />
+ <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)" />
+ </properties>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/conf/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/conf/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/conf/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/conf/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,25 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/datacache/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/datacache/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/datacache/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/datacache/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,53 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AppIdCacheObject</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachA</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachB</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachC</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachD</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachE</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.AttachF</class>
+<!-- <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectInterface</class>-->
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectWithExternalizedFields</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectA</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectB</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectC</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectD</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectE</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectF</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectG</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectH</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectJ</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.FlushDataCacheObject</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectAChild1</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectAChild2</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.CacheObjectBChild1</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.RuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.RuntimeTest2</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.ScheduledEviction</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.SelfReferencingCacheTestObject</class>
+ <class>org.apache.openjpa.persistence.datacache.common.apps.TransactionalClassPC</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/enhance/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/enhance/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/enhance/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/enhance/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,41 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.PCClone</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.NonPCClone</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.SubclassClone</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.NoClone</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.NoNoArgs</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.No2NoArgs</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.No3NoArgs</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.BackingFieldNameMismatchInstance</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.BaseEntity</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.BasicSubclassInstance</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.DetachablePC</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.DetachableVersionedPC</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.ManagedInverseTestInstance</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.ManagedInverseTestInstance2</class>
+ <class>org.apache.openjpa.persistence.enhance.common.apps.DerivedEntity</class>
+
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/entityoperation/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/entityoperation/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/entityoperation/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/entityoperation/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,26 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.entityoperation.common.apps.CascadesEntity</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/event/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/event/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/event/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/event/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,29 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.event.common.apps.RuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.event.common.apps.RuntimeTest2</class>
+ <class>org.apache.openjpa.persistence.event.common.apps.RuntimeTest4</class>
+ <class>org.apache.openjpa.persistence.event.common.apps.TransactionalClassPC</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,42 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.AutoIncrementPC1</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.AutoIncrementPC2</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.AutoIncrementPC3</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.ConstantJoinPC4</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.ConstantJoinPC5</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.CustomMappingPC</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.EagerPC</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.EagerPCSub</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.HelperPC</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.HelperPC2</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.HelperPC3</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.HelperPC4</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.InvertA</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.InvertB</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/mappingApp/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/mappingApp/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/mappingApp/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/common/apps/mappingApp/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,34 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.EntityWithCompositeId</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.OwnerOfEntityWithCompositeId</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.RecursiveEntityWithCompositeId</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.SQLMapAddress</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.SQLMapItem</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.SQLMapOrder</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.SQLMapPerson</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.Entity1</class>
+ <class>org.apache.openjpa.persistence.jdbc.common.apps.mappingApp.Entity2</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/kernel/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/kernel/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/kernel/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/kernel/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,125 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <!-- <class>org.apache.openjpa.persistence.kernel.common.apps.AbstractMappedAppIdSuper</class> -->
+
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AImplB</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AllFieldsTypeTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdClassString</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdHolder</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdSubB</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AbstractMappedAppIdSuper</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdSubC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdSubD</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdSubE</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AppIdSubF</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ArraysTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachA</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachB</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachD</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachE</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachF</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachVersionA</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachVersionB</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.AttachVersionC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.BlobTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ByteArray</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.CalendarFields</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ColumnIOPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ComplexEmbeddedPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ConcreteMappedAppIdSub</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.DateVersion</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.DependentFieldsPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.DetachAttachEvent</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.DetachSMPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.EmbeddedOwnerPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.EmbeddedPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.Entity1</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.Entity2</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ExternalValues</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.FetchGroupTestObject</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.FetchGroupTestObjectChild</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.Inner</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InstanceCallbacksTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ModInstanceCallbackTests</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InterfaceHolder</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InterfaceTestImpl1</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InterfaceTestImpl2</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InterfaceTestImpl3</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InterfaceTestImpl4</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InverseA</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.InverseB</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.Lobs</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.LockGroupPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.LockGroupPC2</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.LockGroupPCKnownSubclass</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ManagedInterfaceOwner</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ManagedInterfaceOwnerAppId</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.MapElementPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.MapElementPCChild</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.MixedInterfaceImpl</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.NonMappedInterfaceImpl</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ObjectCollectionHolder</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.OuterJoinValuePC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCAddress</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCClassPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCCompany</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCCountry</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCDepartment</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCDirectory</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCEmployee</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCFile</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PCPerson</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PersistenceAware</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.PersistentMapHolder</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ProxiesPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RecursivelyEmbeddedPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RuntimeTest2</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RuntimeTest3</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RuntimeTest4</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.RuntimeTest5</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SCOTest</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SecondaryTab</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SequenceAssigned</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SequenceAssigned2</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SequenceAssigned3</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdByte</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdChar</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdInt</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdLong</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdShort</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdString</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.SingleIdWrapper</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ValueStrategyPC</class>
+ <class>org.apache.openjpa.persistence.kernel.TestEJBLobs$Inner</class>
+ <class>org.apache.openjpa.persistence.kernel.TestEJBLobs$Inner2</class>
+ <class>org.apache.openjpa.persistence.kernel.TestStaticInnerClasses$Inner</class>
+ <class>org.apache.openjpa.persistence.kernel.TestEJBNoPersistentFields$Nholder</class>
+ <class>org.apache.openjpa.persistence.kernel.TestEJBNoPersistentFields$NoPersistentFieldsPC</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ModRuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.kernel.common.apps.ModRuntimeTest2</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/meta/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/meta/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/meta/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/meta/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,47 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.meta.common.apps.ExternalValues</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.FieldOrderPC</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.FieldOrderPCSubclass</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest1</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest1$Inner</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest2</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest3</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest4</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest5</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.MetaTest6</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.NonPersistentFieldsPC</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.OrderByPC</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.OrderByPCRel</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.OrderByPCRelSub</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.RuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.RuntimeTest2</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.RuntimeTest3</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.SequenceAssigned</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.SequenceAssigned2</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.SequenceAssigned3</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.ValueStrategyPC</class>
+ <class>org.apache.openjpa.persistence.meta.common.apps.TransactionalClassPC</class>
+ </persistence-unit>
+</persistence>
Added: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/query/common/apps/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/query/common/apps/META-INF/persistence.xml?rev=627979&view=auto
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/query/common/apps/META-INF/persistence.xml (added)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/query/common/apps/META-INF/persistence.xml Fri Feb 15 01:19:55 2008
@@ -0,0 +1,48 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+ <persistence-unit name="TestConv" transaction-type="RESOURCE_LOCAL">
+ <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+ <class>org.apache.openjpa.persistence.query.common.apps.Entity2</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.RuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.RuntimeTest2</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.RuntimeTest3</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.RuntimeTest4</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.RuntimeTest5</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.SimpleAppIdPC</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.CompoundAppIdPC</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.QueryTest1</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.QueryTest2</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.QueryTest3</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.QueryTest4</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.CompoundAppIdPC</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexA</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexB</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexC</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexD</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexE</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexF</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ComplexG</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.CircularFKPC</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.CircularFKPC2</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ModRuntimeTest1</class>
+ <class>org.apache.openjpa.persistence.query.common.apps.ModRuntimeTest2</class>
+ </persistence-unit>
+</persistence>