db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Issue 131: Allow <order> for Collection types
Date Fri, 02 Sep 2005 18:02:28 GMT
Javadogs,

Currently the spec does not appear to support an element that allows  
mapping a collection (duplicates allowed) to a table with a column  
specifically to allow duplicates. We have an <order> element but it  
seems to be just for ordering.

I'd like to propose using the order element to be used for  
duplicates. As a side effect, the collection might be ordered but  
that's not a requirement. Or should it be?

<spec>
ELEMENT order
This element specifies the mapping for the ordering component of  
arrays and lists.
</spec>

<proposed>
ELEMENT order
This element specifies the mapping for the ordering component of  
arrays and lists, and for the mapping that allows duplicates in a  
collection.
</proposed>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message