on-internet
← Community

org.hibernate.PropertyValueException: not-null property references a null or transient value : exception only with @Scheduled

Stack Overflow ·

I am coding for a JPA project (hibernate with spring). The problem am facing is when I execute the below interestCalculation() method with @Scheduled annotation I am getting exception: org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value : com.mad.app.domain.DemandLedgerMap.demandLedger; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value : com.mad.app.domain.DemandLedgerMap.demandLedger After the for loop in quartsTestdDisplay() is completely executed. But, when I execute sa

Comments

Sign in or sign up to comment and upvote.

No comments yet.