OJB should respect Set/List as the field type for collection descriptors that 
do not specify a collection class
---------------------------------------------------------------------------------------------------------------

         Key: OJB-19
         URL: http://issues.apache.org/jira/browse/OJB-19
     Project: OJB
        Type: Bug
  Components: PB-API  
    Versions: 1.0.3    
    Reporter: Thomas Dudziak
 Assigned to: Thomas Dudziak 
     Fix For: 1.0.4


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).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to