Re: resultset.first() untrappable error

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: resultset.first() untrappable error
Date: 2003-08-19 07:20:34
Message-ID: 20030819082034.C20946@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


On 15/08/2003 15:12 kevin wrote:
> the following code frag has recently started bombing in a bean. It
> produces no trappable error I can see (SQLException, Exception,
> RuntimeException all fail) and is bombing at the ResultSet.first()
> function call. Its using redhat 7.3 postgres jdbc pg73b1jdbcX jars.
> The db is 7.3.2. jdk is sun
> hotspot 1.41-b21. The sql works in a file with hard coded customer id.

Have you tried catching Throwable?

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message kevin 2003-08-19 08:19:23 Re: odd behaviour of prepared statement
Previous Message Nick Fankhauser 2003-08-19 01:53:16 Re: odd behaviour of prepared statement