Re: Urgent J Connector URL Syntax for MySQL ignore-spaces Option
Posted by: Filipe Silva
Date: July 29, 2014 05:38AM

In your case, "IGNORE_SPACE" will replace any value previously set in the MySQL configuration file. But that's not all. Whether you set a new value for 'sql_mode' or not, if the property 'jdbcCompliantTruncation' is "true" (which is the default case), the connector/J also appends the value "STRICT_TRANS_TABLES" to 'sql_mode'. So, your final 'sql_mode' should be "IGNORE_SPACE,STRICT_TRANS_TABLES".

Options: ReplyQuote


Subject
Written By
Posted
Re: Urgent J Connector URL Syntax for MySQL ignore-spaces Option
July 29, 2014 05:38AM


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.