What's difference between primitive and wrapper class in JPA (Hibernate) column mappings?
Posted
by Michael Lu
on Stack Overflow
See other posts from Stack Overflow
or by Michael Lu
Published on 2010-04-02T06:36:36Z
Indexed on
2010/04/02
6:43 UTC
Read the original article
Hit count: 315
For instance, there’s a integer column in a database table. Then in java model, it can be mapped both as primitive int and Integer. My question is what's difference between the int and Integer in this case? And performance concern? Thanks!
© Stack Overflow or respective owner