Getting meta data for result set causes "java.sql.SQLException: execution completed with warning"
(Doc ID 1932788.1)
Last updated on AUGUST 30, 2024
Applies to:
JDBC - Version 11.1.0.6 to 11.2.0.4.0 [Release 11.1 to 11.2]Information in this document applies to any platform.
Symptoms
Getting meta data for result set causes the following SQLException if it executes after finish fetching result set.
The issue happens if the program meets all conditions below:
- select table via db link
- use Statement
- use THIN driver
- use aggregate function with NULL
- get meta data for result set after finish fetching result set
(ResultSet.getmetaData, ResultSetMetaData.getColumnLabel, ResultSetMetaData.getColumnName ...) - use JDBC Driver 11.2 or lower version
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |