Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
От | Dave Cramer |
---|---|
Тема | Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; " |
Дата | |
Msg-id | CADK3HHJ7a0LGY9XzEA6_8ejf5jp_QfUDK4d_kLv697Q--XH_hA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; " (Craig Ringer <craig@2ndquadrant.com>) |
Ответы |
Re: JDBC-94: "Multiple resultsets were returned by query" in
query end with "; "
|
Список | pgsql-jdbc |
This is likely a result of the parser getting some more work and not noticing this is an empty query. I have a personal note to look at this
On 7 October 2015 at 07:51, Craig Ringer <craig@2ndquadrant.com> wrote:
On 29 September 2015 at 21:56, Dang Minh Huong <kakalot49@gmail.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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
В списке pgsql-jdbc по дате отправления: