• 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
Pie
Posts: 65342
97
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???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic