Re: refreshRow is slow

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: refreshRow is slow
Дата
Msg-id 4B511515.6090809@opencloud.com
обсуждение исходный текст
Ответ на Re: refreshRow is slow  ("John T. Dow" <john@johntdow.com>)
Ответы Re: refreshRow is slow  ("John T. Dow" <john@johntdow.com>)
Re: refreshRow is slow  ("John T. Dow" <john@johntdow.com>)
Re: refreshRow is slow  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
John T. Dow wrote:

> Certainly that piece of code can be made more efficient. One query ought to be able to return all the primary keys.

It's not the PKs it is after (it's already worked those out earlier),
it's the column names to select to populate the rest of the resultset.

But yes, it could be more efficient. We'd need a static String[]
Field.getColumnNames(Connection,Field[]) method or similar.

-O

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: COPY using Hibernate
Следующее
От: "John T. Dow"
Дата:
Сообщение: Re: refreshRow is slow