Invalid comparison

Error constant SQLE_INVALID_COMPARISON
ODBC 2 State 37000
ODBC 3 State 42000
Severity 16
SQLCODE –710
SQLSTATE 52W25
Sybase error code 13749
Probable cause

An attempt was made to compare two arguments that do not support comparison. For example, it is not valid to compare a Java object with another Java object, unless the class of the object supports a valid compareTo method.