Use Longinstead Long. It is equal by default null.
private Long ID;
And if you are using Tomcat 6.0.16 or later or its plug, you need to add the following VM argument to the server startup arguments, as well as disable forced EL enforcement of primitives and their wrappers:
-Dorg.apache.el.parser.COERCE_TO_ZERO=false