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

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Cannot Reproduce
    • 1.5.9
    • N/A
    • JDBC 4.2 compatibility
    • None
    • java 1.7 with 1.5.9 version.

    Description

      public <T> T getObject(String columnLabel, Class<T> type) throws SQLException;

      integer column reading as string .But iam passing class as second parameter to getObject Method.

      In mysql the value returning as String .
      But in Maria DB driver it is giving as Integer.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            banesh banesh banna
            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.