Re: PreparedStatement batch statement impossible

From: "hans wulf" <lotu1(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org, pg(at)fastcrypt(dot)com
Subject: Re: PreparedStatement batch statement impossible
Date: 2011-03-08 14:17:05
Message-ID: 20110308141705.13350@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2011-03-08 14:27:44 Re: PreparedStatement batch statement impossible
Previous Message Dave Cramer 2011-03-07 15:47:43 Re: PreparedStatement batch statement impossible