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

PreparedStatement.getMetaData() returns null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            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).

            Show
            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).
            Hide
            wlad Vladislav Vaintroub added a comment -

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

            Show
            wlad Vladislav Vaintroub added a comment - We do not need full CONJ-22 for that to work, just prepare statement/close prepared statement.

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                johnkeeping John Keeping
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours
                  7h