db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb repository_junit.xml repository.dtd
Date Mon, 16 Dec 2002 18:17:42 GMT
brj         2002/12/16 10:17:41

  Modified:    src/test/org/apache/ojb repository_junit.xml repository.dtd
  Log:
  multiple orderby for CollectionDescriptor
  
  Revision  Changes    Path
  1.30      +2 -2      jakarta-ojb/src/test/org/apache/ojb/repository_junit.xml
  
  Index: repository_junit.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/repository_junit.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- repository_junit.xml	12 Dec 2002 20:14:02 -0000	1.29
  +++ repository_junit.xml	16 Dec 2002 18:17:41 -0000	1.30
  @@ -119,9 +119,9 @@
            auto-retrieve="true"
            auto-update="true"
            auto-delete="false"
  -         orderby="articleId"
  -         sort="DESC"
         >
  +         <orderby name="articleId" sort="DESC"/>
  +         
            <inverse-foreignkey field-id-ref="4"/>
         </collection-descriptor>
      </class-descriptor>
  
  
  
  1.21      +13 -3     jakarta-ojb/src/test/org/apache/ojb/repository.dtd
  
  Index: repository.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/repository.dtd,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- repository.dtd	4 Dec 2002 21:37:37 -0000	1.20
  +++ repository.dtd	16 Dec 2002 18:17:41 -0000	1.21
  @@ -190,7 +190,7 @@
   	This class will be used as the SequenceManager implementation for
   	the persistent class.
   
  -	The accept-locks attribute specifies whether implicit locking should 
  +	The accept-locks attribute specifies whether implicit locking should
   	propagate to this class.  Currently relevant for the ODMG layer only.
     -->
   <!ATTLIST class-descriptor
  @@ -360,7 +360,7 @@
   	The auto-delete attribute specifies whether OJB automatically deletes
   	this reference attribute on deleting the persistent object.
   	This attribute must be set to false if using the OTM, ODMG or JDO layer.
  -	
  +
     -->
   <!ATTLIST reference-descriptor
   	name CDATA #REQUIRED
  @@ -405,6 +405,7 @@
     -->
   <!ELEMENT collection-descriptor (
       documentation?,
  + 	orderby*,
       inverse-foreignkey*,
   	fk-pointing-to-this-class*,
   	fk-pointing-to-element-class*,
  @@ -472,6 +473,15 @@
   >
   
   <!--
  +	an OrderBy elemnent contains an attribute name and a sort order
  +  -->
  +<!ELEMENT orderby (documentation?)>
  +<!ATTLIST orderby
  +	name CDATA #REQUIRED
  +	sort (ASC | DESC) "ASC"
  +>
  +  
  +<!--
       A inverse-foreignkey element contains information on a foreign-key
       persistent attribute that implement the association on the database level.
     -->
  @@ -508,4 +518,4 @@
     -->
   <!ATTLIST fk-pointing-to-element-class
   	column CDATA #REQUIRED
  ->
  +>
  \ No newline at end of file
  
  
  

Mime
View raw message