title: What's difference between primitive and wrapper class in JPA (Hibernate) column mappings?
body: <p>For instance, there’s an integer column in a database table.
  Then in java model, it can be mapped both as <strong>primitive int</strong> and <strong>Integer</strong>.
  My question is what's difference between the int and Integer in this case? And performance concern?
  Thanks!</p>