title: Empty/Null values from post request are getting assigned to 0
body: <pre><code>&lt;student&gt;
  &lt;id&gt;1&lt;/id&gt;
  &lt;badge&gt;&lt;/badge&gt;
  &lt;name&gt;Matt&lt;/name&gt;
  &lt;/student&gt;
  </code></pre>
  
  <p>This is my xml post when I observe during post.</p>
  
  <pre><code>public class Student implements Serializable{
  
  Long id;
  Integer badge;
  String name;
  }
  </code></pre>
  
  <p>My Web Service : </p>
  
  <pre><code>    @Path("add")
      @POST
      @Consumes({Mediatype.xml,Mediatype.json})
      @Produces({Mediatype.xml,Mediatype.json})
      public Response add(Student student)
      {
      }
  </code></pre>
  
  <p>When I debug on this add method on my service layer , variable badge gets assigned value "0", even though it is not provided by GUI.Database field for badge is also integer(postgres).</p>
  
  <p>Is it something related to Integer variable, which assigns default value to 0 if not present ?</p>