Spring application doesn't appear to be persisting data

后端 未结 6 2047
甜味超标
甜味超标 2021-01-20 13:07

I\'m trying to write something into my database but it\'s not working despite it reporting \"Successfully completed request\". After the success everything seems to work fin

6条回答
  •  不思量自难忘°
    2021-01-20 13:48

    managed to find the problem. Spring Docu "@EnableTransactionManagement and only looks for @Transactional on beans in the same application context they are defined in." Meaing in my payment-servlet.xml i had no thats why there was no active transaction.

提交回复
热议问题