Cannot serialize Java object with class '%1'

Error constant SQLE_JAVA_SERIALIZATION_ERROR
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The class of the value that cannot be serialized.
Severity 16
SQLCODE –662
SQLSTATE WI009
Sybase error code 13744
Probable cause

The Java object cannot be serialized as a persistent database column.