db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@jpox.org
Subject Patch for dtd (persistent interfaces)
Date Fri, 11 Nov 2005 14:02:40 GMT
Here is a patch to DTD file

- add embedded-only attribute to interface
- add persistence-modifier attribute to property
- allow nesting property element into embedded
- allow nesting property element into fetch-group

Again, I cannot commit.

Index: C:/jdo/root/api20/src/dtd/javax/jdo/jdo.dtd
--- C:/jdo/root/api20/src/dtd/javax/jdo/jdo.dtd	(revision 307277)
+++ C:/jdo/root/api20/src/dtd/javax/jdo/jdo.dtd	(working copy)
@@ -18,11 +18,13 @@
 <!ATTLIST interface objectid-class CDATA #IMPLIED>
 <!ATTLIST interface requires-extent (true|false) 'true'>
 <!ATTLIST interface detachable (true|false) 'false'>
+<!ATTLIST interface embedded-only (true|false) #IMPLIED>
 <!ATTLIST interface catalog CDATA #IMPLIED>
 <!ATTLIST interface schema CDATA #IMPLIED>

 <!ELEMENT property (extension*, (array|collection|map)?, join?, embedded?,
element?, key?, value?, order?, column*, foreign-key?, index?, unique?,
 <!ATTLIST property name CDATA #REQUIRED>
+<!ATTLIST property persistence-modifier (persistent|transactional|none)
 <!ATTLIST property default-fetch-group (true|false) #IMPLIED>
 <!ATTLIST property load-fetch-group CDATA #IMPLIED>
 <!ATTLIST property null-value (default|exception|none) 'none'>
@@ -179,11 +181,11 @@
 <!ATTLIST order indexed (true|false|unique) #IMPLIED>
 <!ATTLIST order mapped-by CDATA #IMPLIED>

-<!ELEMENT fetch-group (fetch-group|field)*>
+<!ELEMENT fetch-group (fetch-group|field|property)*>
 <!ATTLIST fetch-group name CDATA #REQUIRED>
 <!ATTLIST fetch-group post-load (true|false) #IMPLIED>

-<!ELEMENT embedded (extension*, field*, extension*)>
+<!ELEMENT embedded (extension*, field*, property*, extension*)>
 <!ATTLIST embedded owner-field CDATA #IMPLIED>
 <!ATTLIST embedded null-indicator-column CDATA #IMPLIED>
 <!ATTLIST embedded null-indicator-value CDATA #IMPLIED>

View raw message