• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate - How to save non-pojo classes

 
Gaurav Ram
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Just want to check that whether hibernate allows us to save non-pojo classes or not

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65682
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Such as?
 
Gaurav Ram
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
means a class which dont have getters and setters,,,, can we save that kind of class in DB with help of hibernate and if possible then how???
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!