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

IBM jdk compatibility issue

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.5.2
    • 1.5.3
    • Other
    • None

    Description

      Direct statement (Statement without parameter) doesn't work using IBM jdk.
      Since driver use intensively parameters conversion to UTF8 and sanitizing parameters.
      A real improvement was to use String internal Char array value when securityManager allows it (this permit to avoid creation to up to bytes array and copying data into those arrays)

      Problem is that IBM jdk Strings can be shared, and use offset/count.
      resulting exception will be :
      Caused by: java.sql.SQLNonTransientException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

      Attachments

        Issue Links

          Activity

            People

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