Invalid type for field reference

Item Value
SQLCODE -94
Constant SQLE_INVALID_FIELD_REFERENCE
SQLSTATE WW014
Sybase error code 13738
ODBC 2 State ERROR
ODBC 3 State ERROR

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.