Does anyone know how to convert a string representation of an XMLGregorianCalendar
(2012-08-02T14:56:19.000+01:00) to an Oracle date.
The value is to be passed to mybatis as a string and a TO_DATE performed on it. If I pass in 2012-08-02 14:56:19 and use "yyyy-MM-dd HH24:MI:SS", 13L56:19 gets written to the DB i.e. it looses the daylight saving
Regards,
(2012-08-02T14:56:19.000+01:00) to an Oracle date.
The value is to be passed to mybatis as a string and a TO_DATE performed on it. If I pass in 2012-08-02 14:56:19 and use "yyyy-MM-dd HH24:MI:SS", 13L56:19 gets written to the DB i.e. it looses the daylight saving
Regards,