Spring hibernate template when to use and why?

前端 未结 5 1826
日久生厌
日久生厌 2020-11-29 17:36

Greetings, Currently developing small web service application where response from web service (using CXF + Spring) processed and saved to database. To work with database I a

5条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 18:05

    Let me clarify one thing that Spring's HibernateTemplate will not be supported going forward, that means Hibernate 4+ versions do not support HibernateTemplate. So it is advised to use declarative transaction management as suggested by Sean.

提交回复
热议问题