javax.persistence.TransactionRequiredException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 开源中国(OSChina.NET)
    via by Unknown author,
  • No title
    via by Unknown author,
  • Transaction error in Spring
    via Stack Overflow by Igor Vartanian
    ,
  • java,spring,jpa , Transaction error in Spring
    via by Unknown author,
  • Java - Transaction error in Spring
    via by Unknown author,
  • Spring Boot Transactions not working
    via Stack Overflow by piyush sahu
    ,
    • javax.persistence.TransactionRequiredException: No transactional EntityManager available at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:273) at com.sun.proxy.$Proxy21.persist(Unknown Source) at cn.com.demo.common.dao.impl.JpaDaoImpl.save(JpaDaoImpl.java:32)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    justinMiras
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    20 more bugmates