java.lang.IllegalStateException: A JTA EntityManager can not use the EntityTransaction API. See JPA 1.0 section 5.5

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Manuel Blechschmidt, 1 year ago
A JTA EntityManager can not use the EntityTransaction API. See JPA 1.0 section 5.5
via openejb-users by Mansour Al Akeel, 1 year ago
A JTA EntityManager can not use the EntityTransaction API. See JPA 1.0 section 5.5
via grokbase.com by Unknown author, 2 years ago
A JTA EntityManager can not use the EntityTransaction API. See JPA 1.0 section 5.5
via nabble.com by Unknown author, 1 year ago
A JTA EntityManager can not use the EntityTransaction API.  See JPA 1.0 section 5.5
via nabble.com by Unknown author, 1 year ago
A JTA EntityManager can not use the EntityTransaction API.  See JPA 1.0 section 5.5
java.lang.IllegalStateException: A JTA EntityManager can not use the EntityTransaction API. See JPA 1.0 section 5.5
at org.apache.olingo.odata2.jpa.processor.core.ODataJPATransactionLocalDefault.(ODataJPATransactionLocalDefault.java:31)
at org.apache.olingo.odata2.jpa.processor.core.ODataJPAContextImpl.getODataJPATransaction(ODataJPAContextImpl.java:178)
at org.apache.olingo.odata2.jpa.processor.core.access.data.JPAProcessorImpl.setTransaction(JPAProcessorImpl.java:451)
at org.apache.olingo.odata2.jpa.processor.core.access.data.JPAProcessorImpl.processCreate(JPAProcessorImpl.java:335)
at org.apache.olingo.odata2.jpa.processor.core.access.data.JPAProcessorImpl.process(JPAProcessorImpl.java:223)
at org.apache.olingo.odata2.jpa.processor.core.ODataJPAProcessorDefault.createEntity(ODataJPAProcessorDefault.java:122)
at org.apache.olingo.odata2.core.Dispatcher.dispatch(Dispatcher.java:79)
at org.apache.olingo.odata2.core.ODataRequestHandler.handle(ODataRequestHandler.java:130)
at org.apache.olingo.odata2.core.rest.ODataSubLocator.handle(ODataSubLocator.java:164)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.