Re: JDBC neglects SET GLOBAL sql_mode = '' settings
Posted by: Filipe Silva
Date: January 18, 2016 06:09AM

Hi,

I recommend you to read the following pages:
- http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by
- http://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html.
- http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sql-mode-changes

Note that Connector/J sets 'SQL_MODE=STRICT_TRANS_TABLES' if the connection property 'jdbcCompliantTruncation' is 'true' (which is by default). This is the only change to SQL_MODE that happens under the hood.

If you need more help please provide a query we can test.

Options: ReplyQuote


Subject
Written By
Posted
Re: JDBC neglects SET GLOBAL sql_mode = '' settings
January 18, 2016 06:09AM


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.