[
https://issues.apache.org/jira/browse/TUSCANY-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin Goodson closed TUSCANY-1074.
-----------------------------------
> Using DataFactory to create a generic data object
> -------------------------------------------------
>
> Key: TUSCANY-1074
> URL: https://issues.apache.org/jira/browse/TUSCANY-1074
> Project: Tuscany
> Issue Type: Task
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-Next
> Reporter: Kelvin Goodson
> Priority: Minor
> Fix For: Java-SDO-Next
>
>
> Before the last regeneration of ModelPackageImpl there was a use case which
> was supported that permitted a call to
> DataFactory.INSTANCE.create("commonj.sdo","DataObject"); which resulted in
> the creation of an instance of AnyTypeDataObject in the namespace
> "http://www.apache.org/tuscany/2005/SDO". This was a manual fix up to the
> generated ModelFactoryImpl class which didn't get transferred to the new
> version.
> TUSCANY-1055 drew our attention to this, because it blocks the creation of
> abstract types, such as "commonj.sdo","DataObject", which is the correct
> thing to do according to the spec. This task is to attempt to rediscover the
> use case that required this behaviour and rethink how to support it. A
> possibility is to introduce into the SDO spec the concept of a concrete type
> of "commonj.sdo","GenericDataObject", which would be open and mixed etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.