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