I am running:
Microsoft SQL Server 10.00.2531
Microsoft SQL Server JDBC Driver 3.0 3.0.1119.0
Calling DatabaseMetaData.getColumns() for a table and then checking the ResultSetMetaData reveals that the IS_AUTOINCREMENT column is reported by the ResultSetMetaData as being SMALLINT rather than STRING as it is defined in JDBC.
View Complete Post