• 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
Bartender
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!