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

PreparedStatement.getMetaData() returns null

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.1.2
    • None
    • None

    Description

      While JDBC does allow getMetaData() on a PreparedStatement object to return null if the functionality is unsupported, it would be really useful if the MariaDB JDBC driver could return meta data about a query without needing to execute it.

      Attachments

        Activity

          johnkeeping John Keeping created issue -

          Maybe it will start working after CONJ-22 is fixed, but it will need to be checked (and a test case needs to be added).

          elenst Elena Stepanova added a comment - Maybe it will start working after CONJ-22 is fixed, but it will need to be checked (and a test case needs to be added).
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Fix Version/s jdbc-1.2.0 [ 12500 ]
          Assignee Rasmus Johansson [ ratzpo ] Vladislav Vaintroub [ wlad ]
          wlad Vladislav Vaintroub made changes -
          wlad Vladislav Vaintroub made changes -
          Fix Version/s jdbc-1.1.2 [ 12801 ]
          Fix Version/s jdbc-1.1.1 [ 12500 ]
          wlad Vladislav Vaintroub made changes -

          We do not need full CONJ-22 for that to work, just prepare statement/close prepared statement.

          wlad Vladislav Vaintroub added a comment - We do not need full CONJ-22 for that to work, just prepare statement/close prepared statement.
          wlad Vladislav Vaintroub made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow defaullt [ 26127 ] MariaDB v2 [ 47844 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 47844 ] MariaDB connectors [ 54989 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB connectors [ 54989 ] MariaDB v3 [ 70197 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 70197 ] MariaDB v4 [ 134667 ]

          People

            wlad Vladislav Vaintroub
            johnkeeping John Keeping
            Votes:
            0 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.