Gregg,
The underlyng call is to
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html#executeBatch()which
as you can see from the javadocs only returns the number of effected
rows.

I don't know of any way that would allow you to return the ids for each
batched insert with the current java.sql api's.


Nathan

On Jan 2, 2008 4:56 PM, Gregg Bolinger <[EMAIL PROTECTED]> wrote:

> If doing a batch insert on several objects I can't seem to retrieve the
> auto_increment key using the <selectKey /> tag.  Individual inserts work
> just fine.  Is this expected?
>
> Thanks.
>
> Gregg
>

Reply via email to