Re: PreparedStatement batch statement impossible - Mailing list pgsql-jdbc

From hans wulf
Subject Re: PreparedStatement batch statement impossible
Date
Msg-id 20110308141705.13350@gmx.net
Whole thread Raw
In response to PreparedStatement batch statement impossible  ("hans wulf" <lotu1@gmx.net>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: "hans wulf"
Date:
Subject: Re: PreparedStatement batch statement impossible
Next
From: Dave Cramer
Date:
Subject: Re: PreparedStatement batch statement impossible