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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

Solutions on the web

via microsoft.com by Unknown author, 1 year ago
The conversion from char to SMALLINT is unsupported.
via hivmr.com by Unknown author, 1 year ago
The conversion from UNKNOWN to UNKNOWN is unsupported.
via Stack Overflow by Fernando Correia
, 2 years ago
The conversion from UNKNOWN to UNKNOWN is unsupported.
via openxava by dmartinpro
, 1 year ago
La conversion de UNKNOWN en UNKNOWN n'est pas prise en charge.
via Stack Overflow by v7r
, 2 years ago
The conversion from UNKNOWN to UNKNOWN is unsupported.
via javapapers.com by Unknown author, 1 year ago
The conversion from UNKNOWN to UNKNOWN is unsupported.
com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from char to SMALLINT is unsupported.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
at com.microsoft.sqlserver.jdbc.DataTypes.throwConversionError(DataTypes.java:1117)
at com.microsoft.sqlserver.jdbc.IntColumnIdentityFilter.apply(SQLServerDatabaseMetaData.java:2320)
at com.microsoft.sqlserver.jdbc.Column.getValue(Column.java:114)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1981)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1966)

Users with the same issue

Once, 1 month ago
6 times, 3 months ago
4 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Once, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.