When we enter an empty string in nillable number,

Use the value null instance of "".

It's needed with mapfish protocol because if the database allow it we can set an int value to null but not to "".