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

Teiid pg does not handle empty prepared sql

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 12.3, 12.2.1
    • None
    • ODBC
    • 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.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: