I'm having problems with this as well, I need to get the generated keys after a batch execution.
Isn't the key ID's retrieved with getGeneratedKeys()?
Comparing JDBCBatch.java and JDBCUpdate.java it looks like JDBCUpdate is creating the prepared statement with Statement.RETURN_GENERATED_KEYS in case of an insert.
Is this not possible for batch executions?
Thanks,
Simon