incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer (JIRA)" <>
Subject [jira] [Commented] (ISIS-118) Persist and restore polymorphic classes
Date Wed, 07 Sep 2011 19:23:09 GMT


Kevin Meyer commented on ISIS-118:

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

> Persist and restore polymorphic classes
> ---------------------------------------
>                 Key: ISIS-118
>                 URL:
>             Project: Isis
>          Issue Type: Bug
>          Components: Runtimes: Dflt: Objectstores: SQL
>    Affects Versions: 0.1.2-incubating
>            Reporter: Kevin Meyer
>            Assignee: Kevin Meyer
> 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).

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message