Exception: "Data truncation: Data too long for column 'column_name' at row N" - URL option jdbcCompliantTruncation set to true as default (Doc ID 1364125.1)

Last updated on JUNE 03, 2016

Applies to:

MySQL Connectors - Version 3.1 and later
Information in this document applies to any platform.

Symptoms

Under certain conditions, MySQL Connector J can throw an exception:

Data truncation: Data too long for column 'column_name' at row N

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms