My Oracle Support Banner

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

Last updated on AUGUST 30, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.