javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread – cannot reliably process ‘persist’ call

journaldev.com | 6 months ago
  1. 0

    Spring ORM example with JPA, Hibernate, Transactions - JournalDev

    journaldev.com | 7 months ago
    javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread – cannot reliably process ‘persist’ call
  2. 0

    Spring ORM example - JPA, Hibernate, Transaction - JournalDev

    journaldev.com | 6 months ago
    javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread – cannot reliably process ‘persist’ call
  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 weeks 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 EntityManager with actual transaction available for current thread – cannot reliably process ‘persist’ call

    at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke()
  2. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:278)
    1 frame
  3. com.sun.proxy
    $Proxy8.persist
    1. com.sun.proxy.$Proxy8.persist(Unknown Source)
    1 frame
  4. com.dao
    ProductDao.Persist
    1. com.dao.ProductDao.Persist(ProductDao.java:19)
    1 frame
  5. com.service
    ProductService.add
    1. com.service.ProductService.add(ProductService.java:19)
    1 frame
  6. Unknown
    SpringOrmMain.main
    1. SpringOrmMain.main(SpringOrmMain.java:22)
    1 frame