Declarative transactions (@Transactional) doesn't work with @Repository in Spring

前端 未结 3 1358
感情败类
感情败类 2020-12-10 16:03

I\'m trying to make simple application using Spring, JPA and embedded H2 database. Recently I\'ve come across this strange issue with declarative transactions. They just doe

3条回答
  •  爱一瞬间的悲伤
    2020-12-10 16:36

    Just a guess, but you don't need to register your own PersistenceAnnotationBeanPostProcessor, since registers one automatically. It's possible that the two are interfering with one another.

    Like I said, though, just a hunch.

提交回复
热议问题