Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-520

SQLStore should avoid creating features with cyclic associations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0, 1.1
    • 1.2
    • Storage
    • None

    Description

      When SLStore analyses a database schema for table A, if anoter table B has a foreigner key to table A, then SQLStore consider table B as a "children" of A. It creates a property in feature A containing a collection of associations to feature B instances. However in Apache SIS 1.1, the feature B instances keep a reference to their parent (the feature A). The result is a cyclic graph, which can cause problems as SIS-519. While SIS can generally handle recursivity, client code may not. So it is probably better to modify SQLStore for not providing an association from "children features" to their "parent feature".

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: