[
https://issues.apache.org/jira/browse/TUSCANY-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470281
]
Frank Budinsky commented on TUSCANY-1093:
-----------------------------------------
This is not a bug, but instead a change in SDO 2.1 - it is working as designed
in SDO 2.0.1, where Tuscany is currently at.
In SDO 2.0.1 implementations could choose between two semantics for
DataObject.isSet()
1. return true if the Property has been set(), and not unset()
2. return true if the Property value is not equal to Property.getDefault()
In SDO 2.1 implementations will always implement isSet() using option #1.
> isSet returning false when boolean set to false, or int set to 0
> ----------------------------------------------------------------
>
> Key: TUSCANY-1093
> URL: https://issues.apache.org/jira/browse/TUSCANY-1093
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Reporter: Robbie Minshall
> Priority: Critical
>
> when boolean property is set to false a call to isSet returns false ( should
> return true ).
> when an int property is set to 0 a call to isSet returns false ( should
> return true ).
> This causes DataObject serialization ( our scenario involves using the sca ws
> binding ) to be missing values that have been set.
--
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]