Can someone please explain what is the use of HibernateCallBack interface?
I have googled something related to this and understood that it will notify the changes made to the persistent objects. Is my understanding correct? Please someone clearly explain me what it does and when to use this interface. I have gone through the internal implementation of hibernate template and observed all the operations performed on persistent objects like save,delete, load etc are using this interface.
I know this does not answer your question directly but don't use HibernateTemplate/HibernateDaoSupport it isn't recommended use the SessionFactory directly.