pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gabriele Carteni <gabriele.carteni@unile.it>
To: pgsql-jdbc@postgresql.org
Subject: currval bug??
Date: Tue, 21 Dec 2004 19:31:01 +0100
Message-ID: <41C86BE5.2030501@unile.it> (raw)

Hi all,
i have recently upgraded my development environment:
FROM postgresql 7.4 TO postgresql 8.0beta5
FROM jdk1.4 TO jdk1.5
FROM pg74.215.jdbc3.jar TO pg80b1.308.jdbc3.jar

now, i have a FRUSTRATING bug:

With this query (which works fine with previous pg74jdbc):
 
*insert into tablename (fieldname) values ('testvalue');select 
currval('tablename_id_seq');*
 
this exeception was throwed:
 
*org.postgresql.util.PSQLException: No results were returned by the query.*

Obviously the query has to return a result.

Any idea?
thanks!!
gaboc

-- 
_____________________________________________________________

"Microsoft isn't the answer. Microsoft is the question, and my answer is no!"




view thread (4+ messages)  latest in thread

Message-ID: <41C86BE5.2030501@unile.it>
Permalink:  ../41C86BE5.2030501@unile.it/
Also on:    postgresql.org/message-id/41C86BE5.2030501@unile.it

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gabriele.carteni@unile.it
  Subject: Re: currval bug??
  In-Reply-To: <41C86BE5.2030501@unile.it>
  References: <41C86BE5.2030501@unile.it>

* 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