pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jens Carlberg <jenca@lysator.liu.se>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: SQLException from Postgres JDBC
Date: Thu, 28 Sep 2000 16:41:39 +0200
Message-ID: <39D358A3.2412A8AF@lysator.liu.se> (raw)
References: <003a01c02958$4ce7e2a0$0e64a8c0@STARTUP.COM>

> 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




view thread (5+ messages)  latest in thread

Message-ID: <39D358A3.2412A8AF@lysator.liu.se>
Permalink:  ../39D358A3.2412A8AF@lysator.liu.se/
Also on:    postgresql.org/message-id/39D358A3.2412A8AF@lysator.liu.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jenca@lysator.liu.se
  Subject: Re: SQLException from Postgres JDBC
  In-Reply-To: <39D358A3.2412A8AF@lysator.liu.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox