[
https://issues.apache.org/jira/browse/TUSCANY-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494508
]
Chris Mildebrandt commented on TUSCANY-1254:
--------------------------------------------
Frank and Fuhwei, you're awesome. It works as expected now. Thank you for the
very quick turn around time from both of you.
> Codegen on a type inheriting from a type in different namespace will result
> in mis-mapping the feature IDs
> ----------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1254
> URL: https://issues.apache.org/jira/browse/TUSCANY-1254
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Tools
> Affects Versions: Java-SDO-beta1
> Environment: WinXP
> Reporter: Fuhwei Lwo
> Attachments: open.xsd, open2.xsd, OpenTypeTest.java
>
>
> Based on my observation, there are two sets of feature ID were generated for
> the Type - 1) ID numbering from EMF 2) ID numbering for SDO. This problem
> occurs when the child type was codegened, its IDs for SDO were mapped to
> those from EMF. So when you tried to get the property using dynamic API,
> since the feature ID is wrong, unpredictable exception will occur. The
> exception can be NPE or ClassCastException depending on the characteristic of
> the wrong ID.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]