java.sql.SQLException

The decimal scale must be >= 0 and <= 28.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6436

  • The decimal scale must be >= 0 and <= 28.
  • via YouTrack by Unknown author, 1 year ago
    Value must be between 0 and getMaxRows()
  • via jtds by brownie74
    , 1 year ago
    Scale error during implicit conversion of DECIMAL value '10.199999999999999289457264239899814129' to a DECIMAL field.
  • Stack trace

    • java.sql.SQLException: The decimal scale must be >= 0 and <= 28. at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.setObject(JtdsPreparedStatement.java:680)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago