Isis
  1. Isis
  2. ISIS-118

Persist and restore polymorphic classes

    Details

      Description

      Currently, the SQL OS does not persist properties of super-classes when a polymorphic class is persisted. Additionally, abstract classes and interfaces are treated the same as concrete classes.
      There are two obvious options:
      1) The persisted polymorphic class creates a row in an uber-table of concatenated properties of all super-classes.
      2) The persisted polymorphic class creates rows in each table that corresponds to a super-class (the concrete sub-class is contained in multiple tables, 1 per super-class).

        Activity

        Hide
        Kevin Meyer added a comment -

        Now has polymorphic support for properties. Tested with interfaces only. Probably won't work for sub-classes (super class properties are not picked up).

        Collections still don't work, though.

        Show
        Kevin Meyer added a comment - Now has polymorphic support for properties. Tested with interfaces only. Probably won't work for sub-classes (super class properties are not picked up). Collections still don't work, though.
        Hide
        Kevin Meyer added a comment -

        Some collection support has been added.

        Superclass properties might even be detected, too.

        Show
        Kevin Meyer added a comment - Some collection support has been added. Superclass properties might even be detected, too.
        Hide
        Kevin Meyer added a comment -

        Add support for allInstances() and simple support for allMatches(queryPattern) to return subclasses, if the pattern is of the correct subclass.

        Show
        Kevin Meyer added a comment - Add support for allInstances() and simple support for allMatches(queryPattern) to return subclasses, if the pattern is of the correct subclass.
        Hide
        Kevin Meyer added a comment -

        Was not properly finding sub-classes of sub-classes! Now added recursive search. Should find all.

        Show
        Kevin Meyer added a comment - Was not properly finding sub-classes of sub-classes! Now added recursive search. Should find all.

          People

          • Assignee:
            Kevin Meyer
            Reporter:
            Kevin Meyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development