db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r169453 - in /incubator/jdo/trunk/api20/src/dtd/javax/jdo: jdo.dtd orm.dtd
Date Tue, 10 May 2005 12:05:08 GMT
Author: clr
Date: Tue May 10 05:05:07 2005
New Revision: 169453

URL: http://svn.apache.org/viewcvs?rev=169453&view=rev
Log:
added foreign-key attribute to orm DTD

Modified:
    incubator/jdo/trunk/api20/src/dtd/javax/jdo/jdo.dtd
    incubator/jdo/trunk/api20/src/dtd/javax/jdo/orm.dtd

Modified: incubator/jdo/trunk/api20/src/dtd/javax/jdo/jdo.dtd
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/dtd/javax/jdo/jdo.dtd?rev=169453&r1=169452&r2=169453&view=diff
==============================================================================
--- incubator/jdo/trunk/api20/src/dtd/javax/jdo/jdo.dtd (original)
+++ incubator/jdo/trunk/api20/src/dtd/javax/jdo/jdo.dtd Tue May 10 05:05:07 2005
@@ -1,3 +1,9 @@
+<!-- The following document headers belong in the user's .jdo file
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jdo
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
+    "http://java.sun.com/dtd/jdo_2_0.dtd">
+-->
 <!ELEMENT jdo (extension*, (package|query)+, extension*)>
 <!ELEMENT package (extension*, (interface|class|sequence)+, extension*)>
 <!ATTLIST package name CDATA ''>

Modified: incubator/jdo/trunk/api20/src/dtd/javax/jdo/orm.dtd
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/dtd/javax/jdo/orm.dtd?rev=169453&r1=169452&r2=169453&view=diff
==============================================================================
--- incubator/jdo/trunk/api20/src/dtd/javax/jdo/orm.dtd (original)
+++ incubator/jdo/trunk/api20/src/dtd/javax/jdo/orm.dtd Tue May 10 05:05:07 2005
@@ -1,7 +1,9 @@
+<!-- The following document headers belong in the user's .orm file
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE orm
     PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata 2.0//EN"
     "http://java.sun.com/dtd/orm_2_0.dtd">
+-->
 <!ELEMENT orm (extension*, (package|query)+, extension*)>
 <!ELEMENT package (extension*, (interface|class|sequence)+, extension*)>
 <!ATTLIST package name CDATA ''>
@@ -79,6 +81,7 @@
 <!ATTLIST field delete-action (restrict|cascade|null|default|none) #IMPLIED>
 <!ATTLIST field indexed (true|false|unique) #IMPLIED>
 <!ATTLIST field unique (true|false) #IMPLIED>
+<!ATTLIST field foreign-key CDATA #IMPLIED>
 <!ATTLIST field mapped-by CDATA #IMPLIED>
 <!ATTLIST field value-strategy CDATA #IMPLIED>
 <!ATTLIST field sequence CDATA #IMPLIED>



Mime
View raw message