Re: setQueryTimout()

From: Samuel Gendler <sgendler(at)ideasculptor(dot)com>
To: knircky <knircky(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setQueryTimout()
Date: 2010-09-28 04:05:09
Message-ID: AANLkTim380+aRJ=P=Vz0Y3CTF9A7jsb5bOYC6zQr8BMN@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, Sep 27, 2010 at 5:29 PM, knircky <knircky(at)gmail(dot)com> wrote:

>
> I am trying to connect to my postgres db via MashZone (www.mashzone.com)
> and
> getting the following error message:
>
> 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.
>

> [snip]
>

> Does anybody have any idea how to solve this dilemma?
>
>
There may well be a much simpler way, but it is really easy to both read and
build the jdbc driver code. It can't possibly be much work to find where
that exception is being thrown and just return instead. What the side
effects of doing so may be on the product is another question entirely.
Don't write long running queries and it shouldn't be a problem, though ;-)

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Samuel Gendler 2010-09-28 04:07:26 Re: setQueryTimout()
Previous Message knircky 2010-09-28 00:29:13 setQueryTimout()