db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OJB-65) Allow field-descriptor inheritance for sub-classes
Date Tue, 09 Aug 2005 20:34:35 GMT
    [ http://issues.apache.org/jira/browse/OJB-65?page=comments#action_12318204 ] 

Thomas Dudziak commented on OJB-65:

Yeah, we definitely want something like that. It however requires a rework of the handling
of the repository XML file, which I'm currently working on. So expect that to come later this
year (though I cannot give an exact time frame).
Note however that the handling of mappings to multiple joined tables has nothing to do with
the inheritance of fields/references/collections, especially not if you want to map one class
to multiple tables (whether with or without inheritance).

> Allow field-descriptor inheritance for sub-classes
> --------------------------------------------------
>          Key: OJB-65
>          URL: http://issues.apache.org/jira/browse/OJB-65
>      Project: OJB
>         Type: Wish
>     Versions: 1.0.x CVS
>     Reporter: Armin Waibel

> When using "extent-classes" the field-descriptor declared in the super-classes will not
be inherited to the sub-classes. Each sub-class have to declare all fields of the super-classes.
> Think the inheritance of fields declared in super-classes could be handled by the metadata
classes when reading the repository file. When we introduce an attribute 'allowInherit' in
class-descriptor and field-descriptor element (by default it's 'true' in CLD and "undefined"
in FLD), OJB will be able to inherit copies (copies needed, because each field-descriptor
is associated with a class-descriptor) of field-descriptor instances to the sub-classes. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message