Difference between HibernateDaoSupport and HibernateTemplate

The biggest difference I know of is that the HibernateTemplate created by HibernateDaoSupport is allowed to create Hibernate sessions (allow create) if no session is bound to the current thread. You can change the value through the allow Create property on HibernateTemplate though. HibernateTemplate (a Hibernate class) is a property of the HibernateDaoSupport class (a Spring class).

People who read this post also read :



1 comments:


I appreciate the clear and concise explanation you've provided about the HibernateTemplate and its interaction with HibernateDaoSupport in the Spring framework.
Read More: Java Programming for Beginners: A Step-by-Step Course Overview

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More