GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes What is the purpose of HibernateCallback Interface? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "What is the purpose of HibernateCallback Interface?" Watch "What is the purpose of HibernateCallback Interface?" New topic
Author

What is the purpose of HibernateCallback Interface?

Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

can somebody tell me what is the purpose of HibernateCallback interface and when do we go for it?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

What does the documentation say?


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the purpose of HibernateCallback Interface?