Re: Updateable ResultSet

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: Updateable ResultSet
Дата
Msg-id 3AF708F1.899D1675@selectacast.net
обсуждение исходный текст
Ответ на Updateable ResultSet  ("Mike D'Agosta" <mdagosta@tolosatech.com>)
Список pgsql-jdbc
Mike D'Agosta wrote:
>
> Hello,
>
>     I am brand new to this list. I looked through the mailing list archive,
> but couldn't determine if ResultSets are Updateable yet. I'm using some old
> drivers for pgsql-jdbc. Are there drivers out now that have Updateable
> ResultSets?
>
ResultSets can't be updatable because that would require the ResultSet
to lock the backend in a begin/end block, which means that if you used
the Connection to do something else while you had the ResultSet open you
might mess it up.  And since using a seperate new Connection would mean
forking off a new backed it is unreasonable to create a new connection
every time you need a ResultSet.

--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

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

Предыдущее
От: Evelio Martinez
Дата:
Сообщение: Re: rpm jdbc installation
Следующее
От: Joseph Shraibman
Дата:
Сообщение: 'current' timestamp chokes jdbc driver