Re: JDBC and setting statement_timeout

Поиск
Список
Период
Сортировка
От Jason Long
Тема Re: JDBC and setting statement_timeout
Дата
Msg-id 491084FA.3000604@supernovasoftware.com
обсуждение исходный текст
Ответ на Re: JDBC and setting statement_timeout  (Kris Jurka <books@ejurka.com>)
Список pgsql-general
Kris Jurka wrote:
>
>
> On Mon, 3 Nov 2008, Jason Long wrote:
>
>> *Would someone please comment on the status of setQueryTimeout in the
>> JDBC driver? Is there any workaround if this is still not implemented?*
>>
>
> setQueryTimeout is not implemented, the workaround is to manually
> issue SET statement_timeout = xxx calls via Statement.execute.
>
> Kris Jurka
1.  Could you provide a code sample to work with straight JDBC?
2.  Can someone advise how this might work with EJB3/Hibernate?

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

Предыдущее
От: Joao Ferreira gmail
Дата:
Сообщение: time interval format srting
Следующее
От: "Webb Sprague"
Дата:
Сообщение: Semi-customized queries? Subset of SQL? Accessing the parser? Injection?