Cannot serialize Java object with class '%1'

Item Value
SQLCODE -662
Constant SQLE_JAVA_SERIALIZATION_ERROR
SQLSTATE WI009
Sybase error code 13744
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The class of the value that cannot be serialized.

Probable cause 

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