Re: Connector/J configuration file
Posted by: Filipe Silva
Date: October 29, 2020 06:19AM

Hi,

None of the properties files you are referring to is used by default. In order to make Connector/J load them you have to use the connection property 'useConfigs'. See more details on Connector/J 5.1 documentation.

Nevertheless, this option was kept on Connector/J 8.0 mostly for back-compatibility and it's not even documented on Connector/J 8.0 user manual, so you probably shouldn't use it anyway.

What you should do instead is to set the option 'zeroDateTimeBehavior=CONVERT_TO_NULL' directly on your connection string or DataSource object.

IHTH

Options: ReplyQuote


Subject
Written By
Posted
October 27, 2020 11:13AM
Re: Connector/J configuration file
October 29, 2020 06:19AM


Sorry, only registered users may post in this forum.

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.