Spring hibernate template when to use and why?

前端 未结 5 1828
日久生厌
日久生厌 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

    HibernateTemplate encapsulates a number of things for you to make your life easier.

    It's your choice to use it or not. For that matter, you can work with a database without Hibernate. Spring's JDBC stuff is very good. You might find it easier to get your problem done without having to learn Hibernate.

提交回复
热议问题