java.sql.SQLException: Error converting data type decimal to decimal. at net.sourceforge.jtds.jdbc.SqlMessage.toSQLException(SqlMessage.java:85) at net.sourceforge.jtds.jdbc.SQLWarningChain.addOrReturn(SQLWarningChain.java:108) at net.sourceforge.jtds.jdbc.TdsStatement.getMoreResults(TdsStatement.java:726) at net.sourceforge.jtds.jdbc.TdsStatement.executeCallImpl(TdsStatement.java:269) at net.sourceforge.jtds.jdbc.TdsStatement.internalExecuteCall(TdsStatement.java:234) at net.sourceforge.jtds.jdbc.PreparedStatement_base.execute(PreparedStatement_base.java:151) at net.sourceforge.jtds.jdbc.PreparedStatement_base.execute(PreparedStatement_base.java:114)

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

Solutions on the web

via jtds by drand
, 1 year ago
Error converting data type decimal to decimal. at net.sourceforge.jtds.jdbc.SqlMessage.toSQLException(SqlMessage.java:85) at net.sourceforge.jtds.jdbc.SQLWarningChain.addOrReturn(SQLWarningChain.java:108) at
java.sql.SQLException: Error converting data type decimal to decimal. at net.sourceforge.jtds.jdbc.SqlMessage.toSQLException(SqlMessage.java:85) at net.sourceforge.jtds.jdbc.SQLWarningChain.addOrReturn(SQLWarningChain.java:108) at net.sourceforge.jtds.jdbc.TdsStatement.getMoreResults(TdsStatement.java:726) at net.sourceforge.jtds.jdbc.TdsStatement.executeCallImpl(TdsStatement.java:269) at net.sourceforge.jtds.jdbc.TdsStatement.internalExecuteCall(TdsStatement.java:234) at net.sourceforge.jtds.jdbc.PreparedStatement_base.execute(PreparedStatement_base.java:151) at net.sourceforge.jtds.jdbc.PreparedStatement_base.execute(PreparedStatement_base.java:114)
at db.TestBigintPK.run(TestBigintPK.java:66)
at db.TestBigintPK.main(TestBigintPK.java:30)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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