Getting meta data for result set causes "java.sql.SQLException: execution completed with warning"
Last updated on SEPTEMBER 21, 2017
Applies to:JDBC - Version 184.108.40.206 to 220.127.116.11.0 [Release 11.1 to 11.2]
Information in this document applies to any platform.
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
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