My question is can, ResultSetMetaData.getColumnLabel(int) return null
?
Is there any known cases where any of the driver implementation return null
? If so, how to achieve that case.
From documentation, it seems there is no such restriction. I want a second opinion regarding this.
Update 1:
In PostgreSQL, when I execute a simple query select 1;
, the returned column name ?column?
.
My question is, are there any scenarios where column label can be null
.