java.sql.SQLException: Unable to convert between [B and TIMESTAMP.

jtds | meken | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    getTimestamp throws an exception

    jtds | 1 decade ago | meken
    java.sql.SQLException: Unable to convert between [B and TIMESTAMP.

    Root Cause Analysis

    1. java.sql.SQLException

      Unable to convert between [B and TIMESTAMP.

      at net.sourceforge.jtds.jdbc.Support.convert()
    2. jTDS
      JtdsResultSet.getTimestamp
      1. net.sourceforge.jtds.jdbc.Support.convert(Support.java:565)
      2. net.sourceforge.jtds.jdbc.JtdsResultSet.getTimestamp(JtdsResultSet.java:1160)
      3. net.sourceforge.jtds.jdbc.JtdsResultSet.getTimestamp(JtdsResultSet.java:1312)
      3 frames