[ http://team.andromda.org:8080/jira/browse/HIB-42?page=history ]
Chad Brandon closed HIB-42:
---------------------------
Assign To: Chad Brandon (was: Martin West)
Resolution: Fixed
> Interface inheritance forces identifier inheritance
> ---------------------------------------------------
>
> Key: HIB-42
> URL: http://team.andromda.org:8080/jira/browse/HIB-42
> Project: Hibernate Cartridge
> Type: Improvement
> Versions: 3.0M3
> Environment: Binary release, 3.0M3, Ant
> Reporter: David R. Allen
> Assignee: Chad Brandon
>
>
> When using the "interface" inheritance strategy, it would be nice to just
> inherit regular properties without an identifier. Each concrete class can
> have its own identifier of different types since there is no single Hibernate
> method to retrieve all concrete instances of different classes (from what I
> understand so far).
> I tried turning off default identifiers to prevent the cartridge from adding
> identifiers to my "interface" root class. That works, but then the model
> validation fails because the "interface" root class does not have an
> identifier.
> I tried adding a dummy identifier to the root class, but that forces all
> specialized classes to inherit that identifier plus the identifier already
> declared for each specialized class.
> I tried turning off model validation, but that causes an exception in the
> cartridge code with this particular model.
> I do not see any workaround for this, but I really do need to inherit some
> attributes without a key mostly because components, or some other form of
> direct composition (1 to 1 relationships) with 1 table is not supported yet
> by the AndroMDA Hibernate cartridge.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://team.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel