From: hans wulf <lotu1@gmx.net>
To: pgsql-jdbc@postgresql.org
To: pg@fastcrypt.com
Subject: Re: PreparedStatement batch statement impossible
Date: Tue, 08 Mar 2011 15:17:05 +0100
Message-ID: <20110308141705.13350@gmx.net> (raw)
hi,
the API says you can use getGeneratedKeys() after executing the statements. But executeBatch() fails...
The driver has got a problem here:
The normal way would be:
1. Create a PreparedStatement with the GET_GENERATED_KEYS flag
2. executeBatch without Exception
3. call getGeneratedKeys()
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
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: lotu1@gmx.net, pg@fastcrypt.com
Subject: Re: PreparedStatement batch statement impossible
In-Reply-To: <20110308141705.13350@gmx.net>
References: <20110308141705.13350@gmx.net>
* 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