I am using postgresql for database. And the condition on the field is not null. When user keeps blank for that field and hit on enter its giving null pointer exception becuase in postgresql for integer it wont accept accept “”.Any idea about how to handle this case
Share
Since your field does not accept
NULL, you should set it with an actual integer.Replace the empty string with a
0(or other default value) on the client side.