Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5744

Teiid pg does not handle empty prepared sql

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12.3, 12.2.1
    • Component/s: ODBC
    • Labels:
      None

      Description

      If a client issues something like:

      s = c.prepareStatement("");
      s.executeUpdate();

      The current logic will throw an exception on prepare.

      It's expected for the prepare to complete an an empty statement response to be returned from execute.

      This is the logic that is used by the PG JDBC driver for connection.isValid.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                shawkins Steven Hawkins
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: