EntityManager persist() method does not insert record to database

前端 未结 9 960
没有蜡笔的小新
没有蜡笔的小新 2021-02-04 11:52

I have problem with using EntityManager.persist(Object) method. Now when i get rid of other problems, by app work without Exception but object is not put in my data

9条回答
  •  无人共我
    2021-02-04 12:36

    solved my problem using

    org.springframework.transaction.jta.JtaTransactionManager
    

    hope this work!

提交回复
热议问题