Re: Connector 8.0 and LocalDate timestamp issue
Posted by: Filipe Silva
Date: June 21, 2018 04:54AM

Hi Ricardo,

Are you using Connector/J 5.1 or 8.0?

In Connector/J 5.1 there is a connection property that should do exactly what you need: "noTimezoneConversionForDateType".

In Connector/J 8.0 I'm afraid you'll have to trick the connection so that it thinks the server and the client are in the same time zone by setting the connection property "serverTimezone=<client_tz>". This way no conversion will occur but mind that other date/time fields will also not be converted.

Please try it and let me know if it works for you.


Options: ReplyQuote

Written By
Re: Connector 8.0 and LocalDate timestamp issue
June 21, 2018 04:54AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.