[teiid-issues] [JBoss JIRA] (TEIID-5744) Teiid pg does not handle empty prepared sql

Steven Hawkins (Jira) issues at jboss.org
Mon May 20 13:35:00 EDT 2019


Steven Hawkins created TEIID-5744:
-------------------------------------

             Summary: Teiid pg does not handle empty prepared sql
                 Key: TEIID-5744
                 URL: https://issues.jboss.org/browse/TEIID-5744
             Project: Teiid
          Issue Type: Bug
          Components: ODBC
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
             Fix For: 12.3, 12.2.1


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list