Is There A Way To Obtain The Updated Row Counts From A JDBC Batch Using PreparedStatements? (Doc ID 1293666.1)

Last updated on JUNE 23, 2017

Applies to:

JDBC - Version 10.2.0.4 and later
Information in this document applies to any platform.

Goal


When using preparedStatements, is there a way to obtain the updated row counts from a JDBC batch ? That is, is there a way to know the number of rows affected in the database by each statement in the batch?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms