| От | Mican Bican |
|---|---|
| Тема | java is locked when select for update |
| Дата | |
| Msg-id | 915cd38805030907545882333f@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: java is locked when select for update
Re: java is locked when select for update |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера