Question-set Query time out in Locking

Поиск
Список
Период
Сортировка
От Vasanth Veeraraghavan
Тема Question-set Query time out in Locking
Дата
Msg-id 000801c4a1f5$a4ce4ee0$a100a8c0@Aspiresys.com
обсуждение исходный текст
Ответы Re: Question-set Query time out in Locking
Список pgsql-jdbc
Hi!
 
I wrote a code,for setting querytime out for a querry,which is accessing a locked table.but when the time elapsed,the code is not throwing error.Kindly help me..
 
OS: windows xp,
DB :postgres
My code is:

st.setQueryTimeout(2);

rs=st.executeQuery("select * from table1 where column1=2");

Note:table1 is locked.this locking is done by another java code.

Thank you,

Vasanth.

 

 

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

Предыдущее
От: Victor Sanchez2
Дата:
Сообщение: Re: pg_hba.conf ---> problem??
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Question-set Query time out in Locking