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

Long cannot be cast to BigInteger

    XMLWordPrintable

Details

    Description

      On updating the mariaDB Connector from 1.1.8 to 1.3.1 a class cast exception is throwing on insert a long value to a BIGINTEGER column in the database.

      In version 1.1.8 it was posstible to create a prepared Statement with the method "setObject(1, valueLong, Types.BIGINT)". Now it throws at this point the exception.

      An executable example (from eclipse IDE) is in the attachment including the two connector jars.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            fahrenholz sfahren
            Votes:
            1 Vote for this issue
            Watchers:
            4 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.