Announcement Announcement Module
Collapse
No announcement yet.
So should you still use Spring's HibernateTemplate and/or JpaTemplate?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • So should you still use Spring's HibernateTemplate and/or JpaTemplate??

    Quick question about this article:

    http://blog.interface21.com/main/200...r-jpatemplate/

    The author says this in the 3rd paragraph in the "Going template-less" section:

    Now, as I said before, because of a small change in Hibernate 3.0.1, Spring is able to manage the Hibernate session for you, without you having to go through the Hibernate session.
    The author refers to a small change in Hibernate 3.0.1, what was that small change that has enabled the option for us to choose whether or not to use the HibernateTemplate?

  • #2
    Why not ask that question in a comment at the blog?

    Jörg

    Comment


    • #3
      I think the documentation recommands to use JPA "template-less", at least that's what I'm doing.

      It's working fine that way, and you have less coupling to Spring, as some people today say it's a bad thing to be coupled with Spring...

      Comment


      • #4
        I think this might be what it's talking about.
        http://www.hibernate.org/hib_docs/v3...urrent-session
        Last edited by karldmoore; Aug 29th, 2007, 11:51 AM.

        Comment


        • #5
          Originally posted by karldmoore View Post
          I think this might be what it's talking about.
          http://www.hibernate.org/hib_docs/v3...urrent-session

          Great. Thanks.

          Comment

          Working...
          X