Server 8.4 on Ubuntu
Driver type 4 version 8.4-701
After getting 'org.postgresql.util.PSQLException: Bad value for type
long' I found these two methods in Jdbc4ResultSet:
public java.sql.Clob getClob(int i) throws SQLException
{
checkResultSet(i);
if (wasNullFlag)
return null;
return new Jdbc4Clob(connection, getLong(i));
}
public java.sql.Blob getBlob(int i) throws SQLException
{
checkResultSet(i);
if (wasNullFlag)
return null;
return new Jdbc4Blob(connection, getLong(i));
}
Calling getLong here has to be wrong?