Spring application doesn't appear to be persisting data

后端 未结 6 2044
甜味超标
甜味超标 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:51

    It seems you miss the @Transactional annotation at the start of your DAO implementation class. It would explain why you don't have any transaction opened.

    If it is not enough to solve your problem, could you give us your complete DAO implementation class ?

提交回复
热议问题