spring-transactions

Spring @Transactional not working

老子叫甜甜 提交于 2019-11-26 06:31:51
问题 I previously had a post on this issue that was resolved. However since rebuilding the project with auto wired beans and less XML configuration I find I am revisiting this issue. I have followed the way my previous project implemented this but it doesn\'t work. Can someone help me with why or what I should change to make it work? I am on purpose using a non existent table name in the insert user details method to deliberately throw an exception. However the statements for insert user and