Transaction marked as rollback only: How do I find the cause

后端 未结 8 1673
深忆病人
深忆病人 2020-11-28 19:39

I am having issues with committing a transaction within my @Transactional method:

methodA() {
    methodB()
}

@Transactional
methodB() {
    ...
    em.pers         


        
8条回答
  •  悲哀的现实
    2020-11-28 20:04

    disable the transactionmanager in your Bean.xml

    
        
            
        
    

    comment out these lines, and you'll see the exception causing the rollback ;)

提交回复
热议问题