incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ISIS-118) Persist and restore polymorphic classes
Date Sat, 03 Sep 2011 12:44:09 GMT

    [ https://issues.apache.org/jira/browse/ISIS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096649#comment-13096649
] 

Kevin Meyer commented on ISIS-118:
----------------------------------

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.

> Persist and restore polymorphic classes
> ---------------------------------------
>
>                 Key: ISIS-118
>                 URL: https://issues.apache.org/jira/browse/ISIS-118
>             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: http://www.atlassian.com/software/jira

        

Mime
View raw message