You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by "Millies, Sebastian" <Se...@softwareag.com> on 2011/07/31 21:22:15 UTC

SDO Question: YearMonthDay/DateTime - why String?

Hello there,

I have found it unnatural to work with the SDO types  YearMonthDay/DateTime
having String as their Java instance class, instead of Date. In fact, I have written my
own little utility methods to set/get values in an SDO to change that aspect for
my application code.

However, I’d be interested to know why that decision was taken. Why does
DateTime map to String instead of Date?


n  Sebastian