question about AbstractJdbc2Statement

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема question about AbstractJdbc2Statement
Дата
Msg-id 200705240824.48717.fluca1978@infinito.it
обсуждение исходный текст
Ответы Re: question about AbstractJdbc2Statement
Список pgsql-jdbc
Hi all,
in the org.postgresql.jdbc2.AsbtractJdbc2Statement#executeQuery there's:

  if (result.getNext() != null)
            throw new PSQLException(GT.tr("Multiple ResultSets were returned
by the query."), PSQLState.TOO_MANY_RESULTS);

It is not clear to me when an executeQuery could have multiple result sets as
result, since the execution of the query thru the queryexecutor seems to me
to exploit the SendOneQuery method. Is this related to the batch processing
or something I'm missing from SQL? Can somebody explain me when multiple
resultset can be returned from a query?

Thanks,
Luca

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Insert (or update) to a partitioned table returns 0 rows updated
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: question about AbstractJdbc2Statement