[
http://issues.apache.org/jira/browse/TUSCANY-153?page=comments#action_12419452
]
Kelvin Goodson commented on TUSCANY-153:
----------------------------------------
When I run XSD2JavaGenerator against the test.xsd in the supplied jar I get
very different generated code from that found in the jar, e.g. CustomerImpl's
setID method in the jar is ...
public void setID(int newID)
{
id = newID;
}
and my generated code has ...
public void setID(int newID)
{
int oldID = id;
id = newID;
boolean oldIDESet = idESet;
idESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
DasPackageImpl.CUSTOMER__ID, oldID, id, !oldIDESet));
}
running the test against the new generated code gives ...
[EMAIL PROTECTED] (ID: <unset>, Product: null, Quantity: 5, Customer_ID:
<unset>)
[EMAIL PROTECTED] (ID: 5, lastName: null, address: null)
[EMAIL PROTECTED] (ID: 10, Product: null, Quantity: <unset>, Customer_ID:
<unset>)
[EMAIL PROTECTED] (eClass: [EMAIL PROTECTED] (name: DataGraphRoot)
(instanceClassName: null) (abstract: false, interface: false))
> ChangeSummary on root data object not supported
> -----------------------------------------------
>
> Key: TUSCANY-153
> URL: http://issues.apache.org/jira/browse/TUSCANY-153
> Project: Tuscany
> Type: Bug
> Components: Java SDO Implementation
> Versions: Java-Mx
> Reporter: Kevin Williams
> Fix For: Java-Mx
> Attachments: tuscany153.jar
>
> The RDB DAS intends to produce data graphs without using a DataGraph instance
> and this requires us to attach a change history to the root DataObject. It
> seems that this capability is not yet implemented.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://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]