-4

what is @transaction annotation in spring mvc and what is it main purpose

enter link description here

Najera
  • 2,869
  • 3
  • 28
  • 52
  • Did you do any research? Read any documentation? Please visit the [help] and read [ask] to learn how to use this site. – Jim Garrison Nov 25 '17 at 18:13

1 Answers1

1

Whale, here's some research I did for you: https://www.javacodegeeks.com/2016/05/understanding-transactional-annotation-spring.html

And this extremely helpful thread on stackoverflow: Why we shouldn't make a Spring MVC controller @Transactional?

These have helped me vastly.

BuscusDude
  • 45
  • 9