Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Dang Minh Huong <kakalot49(at)gmail(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Date: 2015-10-07 11:51:10
Message-ID: CAMsr+YE3riG0vrVbxCFKYnG+UGSLPDnhA==BFG6ZcQxvqoNR5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 29 September 2015 at 21:56, Dang Minh Huong <kakalot49(at)gmail(dot)com> wrote:
> Hi,
>
> I'm using postgresql-jdbc94 and have found that,
> string in executeQuery() end with "; " (the last character is a space)
> is considered as multiple queries and return with
> "Multiple resultsets were returned by query" error.
> I think it is not a bug, but is there any related change in jdbc94. I could
> not reproduce in jdbc93.

This is a follow-up from a Stack Overflow post, right? I'm pretty sure
I saw this but I can't find the post now. If I'm remembering
correctly, got a link so I can cross-reference?

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2015-10-07 12:11:07 Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Previous Message Craig Ringer 2015-10-07 11:43:19 Re: executebatch: