Error 649

Message text

Field '%1' of class '%2' cannot be null

Item

Value

SQLCode

-649

Constant

SQLE_FIELD_CANNOT_BE_NULL

SQLState

WW015

ODBC State

S1000

Parameter 1

the name of the field which cannot be null

Parameter 2

the name of the class which has the field

Probable cause

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