> Index 23 is IS_AUTOINCREMENT which does not have the same meaning as
> IS_GENERATEDCOLUMN (index 24) which was added to the JDBC specification in
> Java 7 / JDBC 4.1. The former is only for one specific column type: auto
> increment (eg serial), while the latter is for all calculated or otherwise
> generated columns.
>
> Mark
Yes, that is correct. I was looling at the code array indexing not the
API. rs.getString(24) is the correct index and IS_GENERATEDCOLUMN is not
implemented in getColumns().
danap.