How to set null to Integer in spring context
java, spring
Solution
You can use the element `<null/>` to indicate a null value:
<property name="a" value="1"/><null/></property>
Edit: There is more information in the official spring 2.5 documentation here: http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-null-element
Problem
this is small part of my context: ``` <property name="a" value="1"/> where a is Integer. ``` How I can set null to this value ?