Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2208

GAE One-to-many code does not import HashSet

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
      None
    • Environment:
      n/a

      Description

      In the Roo-generated *_Roo_JavaBean.aj files, there are 2 problems with the code generated for @OneToMany fields:

      • HashSet is used in the Set<Key> declarations but not imported.
      • The getters and setters try to create (instanciate) new Set<...>() rather than new HashSet<...>().

        Attachments

          Activity

            People

            • Assignee:
              jtyrrell James Tyrrell
              Reporter:
              mrsvan Stefaan Vanderheyden
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: