Error 649

"Field '%1' of class '%2' cannot be NULL"

Item Description

SQLCode

-649L

Constant

FIELD_CANNOT_BE_NULL

SQLState

WW015

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2275

Severity Code

16

Parameter 1

The name of the field that cannot be NULL.

Parameter 2

The name of the class that has the field.

Probable cause

An attempt was made to store a SQL NULL value in a Java object field that has a Java type that cannot be NULL. For example, the Java 'int' type cannot be NULL.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com