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

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Dang Minh Huong <kakalot49(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Date: 2015-09-29 14:53:07
Message-ID: CADK3HHKOEEUnnK+WmrLVerf4Yf3z40W=bky7og0Nu8-jRRedBw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Yes, there is a related change. The parser was rewritten. We may want to
fix the parser to ignore trailing ; This seems like an annoyance

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 29 September 2015 at 09: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.
>
> Best regards,
> Bocap
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message bocap 2015-09-30 14:08:54 Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Previous Message Dang Minh Huong 2015-09-29 13:56:53 JDBC-94: "Multiple resultsets were returned by query" in query end with "; "