Uploaded image for project: 'OJB'
  1. OJB
  2. OJB-19

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.0.x CVS
    • PB-API
    • None

    Description

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

      Attachments

        Activity

          People

            tomdz Thomas Dudziak
            tomdz Thomas Dudziak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: