Mahler Thomas wrote:
Hi Gus,
The current JDO implementation does not inherit the ODMG stuff.
You should use simple java.util.Collection attributes for your collections.
Sigh. I guess that means I can't rely on the order of anything and have
to sort every time I retreive if order is important.... and keep an
listOrder or timeStamp field for lists that have arbitrary but
important order?
You'll have to define collection-descriptors with
auto-retrieve="true", auto-update="false" and auto-delete="false".
This is in repository-user? in .jdo files? or both? Looks like my
project for today is to figure out what xdoclet tags do what I need
then... any hints?
cheers,
Thomas
-----Original Message-----
From: Gus Heck [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 10:11 PM
To: OJB Users List
Subject: JDO Collections
So I am about to embark on my first JDO class that holds a
collection.
(a java.util.List of some sort ideally). I notice in my book
about JDO
that only HashSet support is required, but I also saw in the faq that
ODMG has full support for collections... Does JDO inherit
this from the
ODMG stuff, or do I need to choose my collections from some supported
sub-set? (if this is in the docs please point me to it... I
didn't find it).
-Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]