Hi in my ms sql database i have a column with type bigint but in
java program while trying to retrieve i have written
Long parentid=rs.getLong(1);
but its giving me the following error
java.sql.SQLException: The value supplied cannot be converted to BIGINT.
at net.sourceforge.jtds.jdbc.Support.convert(Support.java:570)
at net.sourceforge.jtds.jdbc.JtdsResultSet.getLong(JtdsResultSet.java:661)
at java.lang.Thread.run(Unknown Source)
Can anyone please tell me how to access the bigint in java.