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 CADK3HHKOEEUnnK+WmrLVerf4Yf3z40W=bky7og0Nu8-jRRedBw@mail.gmail.com
обсуждение исходный текст
Ответ на JDBC-94: "Multiple resultsets were returned by query" in query end with "; "  (Dang Minh Huong <kakalot49@gmail.com>)
Ответы Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Список 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@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.

Best regards,
Bocap

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dang Minh Huong
Дата:
Сообщение: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Следующее
От: bocap
Дата:
Сообщение: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "