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

Teiid pg does not handle empty prepared sql

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.3, 12.2.1
    • None
    • ODBC
    • None

      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.

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

                Created:
                Updated:
                Resolved: