Re: Update ResultSet

Поиск
Список
Период
Сортировка
От Andrew Lazarus
Тема Re: Update ResultSet
Дата
Msg-id 46688274.20080112204738@attglobal.net
обсуждение исходный текст
Ответ на Re: Update ResultSet  (tivvpgsqljdbc@gtech-ua.com)
Список pgsql-jdbc
Wednesday, October 10, 2007, 5:39:47 AM, you wrote:

> Hi.

> I'd create an updatable server-side view and issue select against it.
> Not sure if primary key information will be propagated, but you can try.

I've found that a column in a view named "oid" is automatically
assumed to be a primary key. (You can see the special case in the JDBC
code.) So I include such a column in an updatable view.
--
Best regards,
 Andrew                            mailto:drlaz@attglobal.net


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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Is it safe to use 8.0.14 server and 7.4 driver ?
Следующее
От: Magne Mæhre
Дата:
Сообщение: Re: Is it safe to use 8.0.14 server and 7.4 driver ?