I was getting TransactionRequiredException when I'm using EntityManager in JSF managed beans. I fixed it by adding following dependancy to pom.xml of web module:
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>
I feel like it should be added by default.
Thank you!
I was getting TransactionRequiredException when I'm using EntityManager in JSF managed beans. I fixed it by adding following dependancy to pom.xml of web module:
I feel like it should be added by default.
Thank you!