Invalid type for field reference

Error constant SQLE_INVALID_FIELD_REFERENCE
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –94
SQLSTATE WW014
Sybase error code 13738
Probable cause

An expression attempted to reference a field or a method of a non-Java value. Field references via . and >> are only valid when applied to Java objects.