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

Re: Fetching generated keys

From: Kris Jurka <books(at)ejurka(dot)com>
To: Mike Clements <mclement(at)progress(dot)com>
Cc: PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Fetching generated keys
Date: 2007-03-06 22:42:25
Message-ID: Pine.BSO.4.64.0703061740470.4723@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Tue, 6 Mar 2007, Mike Clements wrote:

> 2. call executeQuery() and use the result set.
>
> If I call statement.executeQuery(), it throws an exception saying the
> connection is already closed ?!?!
>

I have no idea what you're testing, but the attached works fine for me. 
Could you provide individual test cases for any and all problems you are 
seeing?

Kris Jurka

Attachment: Returning.java
Description: text/plain (496 bytes)

In response to

Responses

pgsql-jdbc by date

Next:From: Mike ClementsDate: 2007-03-06 22:45:25
Subject: Re: Fetching generated keys
Previous:From: Mike ClementsDate: 2007-03-06 22:24:49
Subject: Re: Fetching generated keys

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