openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r1036735 - in /openjpa/sandboxes/jest: openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd
Date Fri, 19 Nov 2010 04:32:23 GMT
Author: ppoddar
Date: Fri Nov 19 04:32:23 2010
New Revision: 1036735

URL: http://svn.apache.org/viewvc?rev=1036735&view=rev
Log:
OPENJPA-1859: Use empty text content in ref and ref-null

Modified:
    openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml
    openjpa/sandboxes/jest/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd

Modified: openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml?rev=1036735&r1=1036734&r2=1036735&view=diff
==============================================================================
--- openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml
(original)
+++ openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml
Fri Nov 19 04:32:23 2010
@@ -382,7 +382,8 @@
     
     <persistence-unit name="jest">
     	<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
-        <class>org.apache.openjpa.persistence.jest.JObject</class>
+        <class>org.apache.openjpa.persistence.jest.Movie</class>
+        <class>org.apache.openjpa.persistence.jest.Actor</class>
         <properties>
         <property name="openjpa.Log" value="Tool=Trace,SQL=WARN,Remote=TRACE"/>
         <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>

Modified: openjpa/sandboxes/jest/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/jest/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd?rev=1036735&r1=1036734&r2=1036735&view=diff
==============================================================================
--- openjpa/sandboxes/jest/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd
(original)
+++ openjpa/sandboxes/jest/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/jest/jest-instance.xsd
Fri Nov 19 04:32:23 2010
@@ -53,11 +53,19 @@
 
 	<!-- A reference to another instance within the same(?) document -->
 	<xsd:complexType name="ref-type">
-		<xsd:attribute name="id" type="xsd:IDREF" />
+		<xsd:simpleContent>
+			<xsd:extension base="xsd:string">
+				<xsd:attribute name="id" type="xsd:IDREF" />
+			</xsd:extension>
+		</xsd:simpleContent>
 	</xsd:complexType>
 	
 	<!-- A null reference                                            -->
 	<xsd:complexType name="ref-null">
+		<xsd:simpleContent>
+			<xsd:extension base="xsd:string">
+			</xsd:extension>
+		</xsd:simpleContent>
 	</xsd:complexType>
 
 	<!-- Basic Attribute has a name and its runtime type   -->



Mime
View raw message