Transaction is required to perform this operation (either use a transaction or extended persistence context)

后端 未结 6 1813
迷失自我
迷失自我 2020-12-20 14:27

I\'m using Wildfly 10.0.0 Final, Java EE7, Maven and JPA 2.1. When I am querying my database for records it works fine and lists out the employees, but when I am trying to p

6条回答
  •  时光取名叫无心
    2020-12-20 15:03

    You can see below document about handle the transacion:
    Container-Managed Transactions JEE6

    use Transaction Attributes based on your application

提交回复
热议问题