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 laterInformation 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 |