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-Mx Reporter: Kelvin Goodson Priority: Minor 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. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]