Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The MySQL Connector/J class MysqlDataTruncation includes the MySQL error code and error message, as opposed to standard JDBC class java.sql.DataTruncation which the MariaDB Connector/J currently uses.
The new feature is to have DataTruncation warnings thrown by MariaDB to retain error message text in DataTruncation.getMessage() (method inherited from Throwable), and retain server error code in getErrorCode, inherited from java.sql.SQLError.