• Post Reply Bookmark Topic Watch Topic
  • New Topic

primitives or Objects?  RSS feed

 
Jez Nicholson
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate doesn't seem to care much whether a value is a primitive or an object, e.g.


vs



are there any reasons why one would be preferable to the other?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't have a null primative.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!