Results 1 to 2 of 2

Thread: Is there a class to replace o.s.o.hibernate3.HibernateTemplate with Hibernate 4?

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    Default Is there a class to replace o.s.o.hibernate3.HibernateTemplate with Hibernate 4?

    Hi all,
    I've a fair amount of code using Spring's HibernateTemplate. We are migrating from Hibernate 3 to Hibernate 4 and could not find an equivalent implementation for Hibernate 4. Am I looking at the wrong place? If this functionality does not exist maybe someone can suggest an option that would ease the migration.

    Thanks,
    Guy.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    No... HibernateTemplate should be considered deprecated since the release of hibernate 3.0.1 (about 2007). You should use plain hibernate daos as explained in the reference guide.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •