Announcement Announcement Module
Collapse
No announcement yet.
Confused Which Method to Use Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confused Which Method to Use

    Is HibernateTemplate now obsolete? I have been reading that it is. Should I use SessionFactory? Extend HibernateDAO? I am a little confused about what the current thinking is.

  • #2
    HibernateDaoSupport and HibernateTemplate (and the Jpa branch also) should be considered deprecated (as mentioned a lot of times on the forums). So use the SessionFactory directly (as explained in the reference guide).

    Comment


    • #3
      Hello

      Consider read this blog post

      So should you still use Spring's HibernateTemplate and/or JpaTemplate?? | SpringSource Team Blog

      Comment


      • #4
        Thanks

        Originally posted by Marten Deinum View Post
        HibernateDaoSupport and HibernateTemplate (and the Jpa branch also) should be considered deprecated (as mentioned a lot of times on the forums). So use the SessionFactory directly (as explained in the reference guide).
        Thanks for the advice. Looking forward to your book.

        Comment


        • #5
          Gracias por tu respuesta. Saludos desde Washington DC.

          Comment

          Working...
          X