Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the purpose of HibernateCallback Interface?

 
Vas Miriyala
Ranch Hand
Posts: 114
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can somebody tell me what is the purpose of HibernateCallback interface and when do we go for it?
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the documentation say?
 
Vas Miriyala
Ranch Hand
Posts: 114
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
they says its a Helper class that simplifies Hibernate data access code. Automatically converts HibernateExceptions into DataAccessExceptions and it must be use with HibernateTemplate.execute method
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic