GetColumns() Generates Java.lang.IllegalArgumentException: Cannot Set INT On Column With JDBC 12.2
Last updated on APRIL 25, 2018
Applies to:JDBC - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
Application using JDBC 220.127.116.11 (ojdbc8.jar) receives the following error when calling getMetaData().getColumns() in application to get type (java.sql.Types) of each column in the database.
This error does not present itself with 18.104.22.168 ojdbc6.jar or ojdbc7.jar.
java.lang.IllegalArgumentException: cannot set INT on column: LAST_ACTY_DAY_NBR
The column is defined as :
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