java is locked when select for update

Поиск
Список
Период
Сортировка
От Mican Bican
Тема java is locked when select for update
Дата
Msg-id 915cd38805030907545882333f@mail.gmail.com
обсуждение исходный текст
Ответы Re: java is locked when select for update  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: java is locked when select for update  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Hello,

I use Postgresql 8.0.1 with java 5 and jdbc3 on windows xp.

When I do a "select for update" a row.. and dont commit the statement
and when in this time an other user do also this. my java gui wait and
locked till the first user commit his statement.. my question is how
can I realize this with java.. for example why they are not a
SQLException or are Error like "an other user is updating this row"...
or can I say to java "dont wait" or "dont lock" when you make a select
for update and an other user before you make this..

thank you..

best regards

Mican Bican

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

Предыдущее
От: Roland Walter
Дата:
Сообщение: Re: JDBC driver build 215 slow when index contains column
Следующее
От: "Rover, Mischa de"
Дата:
Сообщение: Crystal Reports: Connection rejected: FATAL: no PostgreSQL user name specified in startup packet.