My Oracle Support Banner

How to Check the Reason why Result Set is Downgraded (Doc ID 2959571.1)

Last updated on JULY 05, 2023

Applies to:

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

Goal

PreparedStatement is created with ResultSet.CONCUR_UPDATABLE.
But the ResultSet object is returned as ResultSet.CONCUR_READ_ONLY.
Therefore, "java.sql.SQLException: Invalid operation for read only resultset: updateString" occurs.

Why the Result Set is Downgraded to ResultSet.CONCUR_READ_ONLY ?

(example)

 

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.