Re: SQLException from Postgres JDBC - Mailing list pgsql-interfaces

From Jens Carlberg
Subject Re: SQLException from Postgres JDBC
Date
Msg-id 39D358A3.2412A8AF@lysator.liu.se
Whole thread Raw
In response to SQLException from Postgres JDBC  ("Daniel Gayo Avello" <danielgayo@terra.es>)
List pgsql-interfaces
> Daniel Gayo Avello wrote:
> 
> Hi, everybody! I've got a problem with Postgres JDBC driver and
> perhaps somebody could help me. I'm using JDK 1.2.2, JSK 2.0,
> PostgreSQL 7.0.2 and Apache JServ 1.1.2 and my servlets throw a
> SQLException when I try to perform a INSERT or DELETE operation...

Hi!

It is hard to comment when you dont supply any example code that
demonstrates your problem. If you could send a code block in which the
error occurs it would be much easier.

> In fact, the operations are done but they don't return any results so
> a exception is catch by the servlet.

Do this means that the data is inserted/deleted, even though you get an
exception? Then I would guess you handle the returned result in the
wrong way, or something like it.

///Jens Carlberg



pgsql-interfaces by date:

Previous
From: "Daniel Gayo Avello"
Date:
Subject: SQLException from Postgres JDBC
Next
From: Peter Mount
Date:
Subject: Re: SQLException from Postgres JDBC