Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1271

Add a new class similar to MysqlDataTruncation that includes MariaDB error code and error message

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.5.7
    • Other
    • 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.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            Ali.maria Alasdair Haswell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.