Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate - How to save non-pojo classes  RSS feed

 
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: 65897
135
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
Boost this thread!