[ 
https://issues.apache.org/jira/browse/TUSCANY-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Goodson resolved TUSCANY-1170.
-------------------------------------

    Resolution: Invalid

This is behaving as per the SDO 2.1 spec.  An issue has already been raised for 
the Spec review group, so hopefully this issue will be resolved in SDO 3.

> The YearMonthDay property type throws format exception when retrieving long 
> value
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1170
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1170
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-M3
>         Environment: n/a
>            Reporter: David T. Adcox
>         Attachments: api_test.xsd, Test1170.java
>
>
> Retrieval of a YearMonthDay SDO property type via the getLong() method causes 
> a java.lang.NumberFormatException.  The value is converted to a String when 
> set.  The Long.parseLong() doesn't like the alpha characters encoded in the 
> string created.  The DataObjectUtil getLong method seems to be ready to 
> accept a Date object type, but the storage type is String, so that path is 
> not taken.  Attached is a sample class and schema that will demonstrate the 
> problem.

-- 
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]

Reply via email to