title: Spring 3.1 + Hibernate 4 - HibernateTemplate
body: <p>Spring's <a href="http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/orm/hibernate4/package-summary.html">hibernate4 package</a> appears to have done away with HibernateTemplate and HibernateDaoSupport. I'm in the process of upgrading Hibernate from 3 to 4 in my Spring app and I have a fair few subclasses of Spring's HibernateDaoSupport and a couple of Hibernate callbacks through HibernateTemplate. Perhaps I'm not using the right search terms, but I can't find any info in the reference docs on how I should be refactoring these to <a href="http://forum.springsource.org/showthread.php?124677-Is-there-a-class-to-replace-o-s-o-hibernate3-HibernateTemplate-with-Hibernate-4&amp;p=406779#post406779">"use plain hibernate daos as explained in the reference guide"</a>. Can anyone help point me in the right direction?</p>