com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from char to SMALLINT is unsupported.

microsoft.com | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Conversion error in the JDBC 3.0 driver when accessing metadata

    microsoft.com | 10 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from char to SMALLINT is unsupported.

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      The conversion from char to SMALLINT is unsupported.

      at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError()
    2. com.microsoft.sqlserver
      SQLServerResultSet.getValue
      1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
      2. com.microsoft.sqlserver.jdbc.DataTypes.throwConversionError(DataTypes.java:1117)
      3. com.microsoft.sqlserver.jdbc.IntColumnIdentityFilter.apply(SQLServerDatabaseMetaData.java:2320)
      4. com.microsoft.sqlserver.jdbc.Column.getValue(Column.java:114)
      5. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1981)
      6. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1966)
      6 frames