What are all the ways to access Hibernate by using Spring?

There are two ways to access hibernate using spring:

  • Inversion of Control with a Hibernate Template and Callback
  • Extending HibernateDAOSupport and Applying an AOP Interceptor node.