Re: Connector/J configuration file
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
Subject
Written By
Posted
Re: Connector/J configuration file
October 29, 2020 06:19AM
November 09, 2020 07:02AM
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.