java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

Stack Overflow | Tirath | 2 months ago
  1. 0

    Save @Entity using @EntityManager not working

    Stack Overflow | 2 months ago | Tirath
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  2. 0

    data is not getting insterted into database, but not getting any exception

    Stack Overflow | 4 years ago | developer
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  3. 0

    JPA error: A JTA EntityManager cannot use getTransaction() - Spring Forum

    spring.io | 11 months ago
    org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring IllegalStateException: A JTA EntityManager cannot use getTransaction()

    Stack Overflow | 2 years ago | ResidentBiscuit
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

  1. davidvanlaatum 4 times, last 2 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    A JTA EntityManager cannot use getTransaction()

    at org.hibernate.internal.AbstractSharedSessionContract.getTransaction()
  2. Hibernate
    AbstractSessionImpl.getTransaction
    1. org.hibernate.internal.AbstractSharedSessionContract.getTransaction(AbstractSharedSessionContract.java:360)
    2. org.hibernate.internal.AbstractSessionImpl.getTransaction(AbstractSessionImpl.java:23)
    2 frames
  3. Container Common
    EntityManagerWrapper.getTransaction
    1. com.sun.enterprise.container.common.impl.EntityManagerWrapper.getTransaction(EntityManagerWrapper.java:806)
    1 frame