javax.persistence.TransactionRequiredException: no transaction is in progress

Stack Overflow | Buddha | 5 months ago
  1. 0

    Spring Batch Admin for existing batch job

    Stack Overflow | 5 months ago | Buddha
    javax.persistence.TransactionRequiredException: no transaction is in progress
  2. 0

    Jeeves / Db query in config failed

    GitHub | 3 years ago | fxprunayre
    javax.persistence.TransactionRequiredException: no transaction is in progress
  3. 0

    entitymanager persist does not save to database

    Stack Overflow | 3 years ago | Dhorium
    javax.persistence.TransactionRequiredException: no transaction is in progress
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JpaRepository: No Transaction in progress

    Stack Overflow | 2 years ago | karthik
    javax.persistence.TransactionRequiredException: no transaction is in progress

    6 unregistered visitors
    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. javax.persistence.TransactionRequiredException

      no transaction is in progress

      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.checkTransactionNeeded()
    2. org.hibernate.jpa
      AbstractEntityManagerImpl.flush
      1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.checkTransactionNeeded(AbstractEntityManagerImpl.java:1171)
      2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1332)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. Spring ORM
      ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke
      1. org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:342)
      1 frame
    5. com.sun.proxy
      $Proxy71.flush
      1. com.sun.proxy.$Proxy71.flush(Unknown Source)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames