Proper usage of Spring mvc 3 with hibernate (Spring ORM)

前端 未结 4 643
逝去的感伤
逝去的感伤 2020-12-14 04:51

I\'m starting a new project, trying to do things right this time(so more than one question), I might need some help, I\'m not sure what I\'m doing wrong :

  1. Spri
4条回答
  •  醉话见心
    2020-12-14 05:52

    how do I make session opening/closing handled by @Transactional?

    You need (and the tx namespace) in your spring context.

    (see Using @Transactional)

提交回复
热议问题