Re: setQueryTimout()

From: <rsmogura(at)softperience(dot)pl>
To: knircky <knircky(at)gmail(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setQueryTimout()
Date: 2010-09-29 08:25:57
Message-ID: 3abae03e758c1365258f5777581cf4a4@smogura-softworks.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 27 Sep 2010 17:29:13 -0700 (PDT), knircky <knircky(at)gmail(dot)com>
wrote:
> The following error occurred when running SQL query "SELECT * FROM
> GT.GameTypeDescription;" on database "HM_postgres": Method
> org.postgresql.jdbc4.Jdbc4Statement.setQueryTimeout(int) is not yet
> implemented.

I posted at the end of 2009 a patch for query timeout implementation on
server side (as we extensively use PostgreSQL)
(http://archives.postgresql.org/pgsql-jdbc/2009-11/msg00010.php), you can
download it and try patching - I will review a code once again, but you can
check, using supplied tests, that this works and what is most important
terminates (!) deadlocked statements.

Kind regards,
Radosław Smogura
http://www.softperience.eu

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Radosław Smogura 2010-09-29 08:52:56 Re: setQueryTimout()
Previous Message Oliver Jowett 2010-09-29 00:48:11 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)