Skip site navigation (1) Skip section navigation (2)

Re: SQLException from Postgres JDBC

From: Michael Stephenson <mstephenson(at)tirin(dot)openworld(dot)co(dot)uk>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: SQLException from Postgres JDBC
Date: 2000-09-28 14:50:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
> 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...
> In fact, the operations are done but they don't return any results so
> a exception is catch by the servlet.

Just guessing because your description is so vague..

If you use executeQuery instead of executeUpdate you'll get the exception
postgresql.stat.noresult, which seems to be fit with what you're

Michael Stephenson

In response to

pgsql-interfaces by date

Next:From: Daniel Gayo AvelloDate: 2000-09-28 14:56:22
Subject: RE: SQLException from Postgres JDBC
Previous:From: Jens CarlbergDate: 2000-09-28 14:41:39
Subject: Re: SQLException from Postgres JDBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group