db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kalén <mka...@apache.org>
Subject Re: [jira] Created: (OJB-19) OJB should respect Set/List as the field type for collection descriptors that do not specify a collection class
Date Tue, 12 Apr 2005 07:19:26 GMT
Thomas Dudziak (JIRA) wrote:
> In cases where the collection-descriptor of a field of type List/Set does not specify
collection-class, OJB currently uses RemovalAwareCollection which is a List but not a Set.
> Instead, OJB should use the field type, and either throw a metadata exception if none
of the default collection classes can be assigned to it, or use a fitting default collection.
> This also means that a RemovalAwareSet is needed (based upon ManageableHashSet).

As a side note: Jakob has refactored the implementations in OJB 1.1 -- where this
area is much cleaner and easier to maintain.

Regards,
  Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message