i want to make default value for int property to empty field not 0
+1
A:
You need to use Integer
class and not int for that.
An int
will always be initialized to 0 It can't be null.
Padmarag
2010-02-11 11:43:08