What are the benefits of HibernateTemplate?- The benefits of HibernateTemplate are:
1. HibernateTemplate, which is a Spring Template class, can simplify the interactions with Hibernate Sessions.
2. Various common functions are simplified into single method invocations.
3. The sessions of hibernate are closed automatically
4. The exceptions will be caught automatically, and converts them into runtime exceptions.What are the benefits of HibernateTemplate?HibernateTemplate benefits :
1. HibernateTemplate simplifies interactions with Hibernate Session.
2. The functions that are common are simplified to single method calls.
3. The sessions get automatically closed.
4. The exceptions get automatically caught and are converted to runtime exceptions.
|