javax.persistence.TransactionRequiredException: No transactional EntityManager available

aliyun.com | 5 months ago
  1. 0

    开源中国(OSChina.NET)

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

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

    "No transactional EntityManager available" with Spring 4, HIbernate 3 in a TestNG test case

    Stack Overflow | 1 year ago | Ganesh
    javax.persistence.TransactionRequiredException: No transactional EntityManager available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    why I do not have transaction when I use aspectJ mode transaction?

    Stack Overflow | 1 year ago | grep
    javax.persistence.TransactionRequiredException: No transactional EntityManager available

  1. justinMiras 2 times, last 12 months 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