Prabhat Ranjan wrote:ok thanks !
means it the tightly coupling's nature that's why we do not use the HibernateTemplate in Hibernate 3.1x version ! right ?
The HibernateTemplate part isn't so much as coupling. But the benefits of single line to run a query, no need to Catch a checked Exception, beginning/commit/rollback of transactions that you get from the HibernateTemplate, you now automatically get in Hibernate anyway. HibernateException is not a checked Exception and you no longer begin/commit/rollback transactions in Hibernate 3.x version
Mark