javax.persistence.TransactionRequiredException: No transactional EntityManager available

aliyun.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    开源中国(OSChina.NET)

    oschina.net | 2 years ago
    javax.persistence.TransactionRequiredException: No transactional EntityManager available
  2. 0

    aliyun.com | 7 months ago
    javax.persistence.TransactionRequiredException: No transactional EntityManager available
  3. 0

    javax.persistence.TransactionRequiredException: No transactional EntityManager available

    GitHub | 2 years ago | degloba
    javax.persistence.TransactionRequiredException: No transactional EntityManager available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring @Transactional not working In standalone application

    Stack Overflow | 2 years ago
    javax.persistence.TransactionRequiredException: No transactional EntityManager available
  6. 0

    Transaction error in Spring

    Stack Overflow | 2 years ago | Igor Vartanian
    javax.persistence.TransactionRequiredException: No transactional EntityManager available

  1. jpvee 1 times, last 2 months ago
  2. justinMiras 2 times, last 1 year ago
22 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 transactional EntityManager available

    at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke()
  2. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:273)
    1 frame
  3. com.sun.proxy
    $Proxy21.persist
    1. com.sun.proxy.$Proxy21.persist(Unknown Source)
    1 frame
  4. cn.com.demo
    JpaDaoImpl.save
    1. cn.com.demo.common.dao.impl.JpaDaoImpl.save(JpaDaoImpl.java:32)
    1 frame