Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLGregorianCalendar to Oracle Date

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
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,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top