Forum Discussion

tyfyyhs's avatar
tyfyyhs
Copper Contributor
Jun 24, 2020

Request ResultSet.getObject specification

Hi.

 

I am using the ResultSet.getObject(String columnLabel) of the SQL Server JDBC 4.0 API to get the column object.

 

However, the String columnLabel argument entered was not found.

 

An error occurs as shown in the image below.

 

 

R14_1 column exists in my SQL Server.

 

I think the cause of this problem is that columnLabel contains space characters.

 

However, there is no problem when using the same table configuration and the same JDBC code in Oracle, but it only happens in SQL Server.

 

Why is this?

 

No RepliesBe the first to reply

Resources