com.cavali.exception.BaseException: Exception occured in Class:org.hibernate.exception.internal.SQLExceptionTypeDelegateException occured in method:updateReqState DAO UPDATE METHOD FAILED System Message: ORA-02291: integrity constraint (CAVAPPDB.R_1024) violated - parent key not found at com.cavali.commom.ExceptionHandler.handleDataAccessException(ExceptionHandler.java:106)

Stack Overflow | user2946392 | 3 months ago
  1. 0

    Hibernate executeUpdate fail after session save because of constraint

    Stack Overflow | 3 months ago | user2946392
    com.cavali.exception.BaseException: Exception occured in Class:org.hibernate.exception.internal.SQLExceptionTypeDelegateException occured in method:updateReqState DAO UPDATE METHOD FAILED System Message: ORA-02291: integrity constraint (CAVAPPDB.R_1024) violated - parent key not found at com.cavali.commom.ExceptionHandler.handleDataAccessException(ExceptionHandler.java:106)

    Root Cause Analysis

    1. com.cavali.exception.BaseException

      Exception occured in Class:org.hibernate.exception.internal.SQLExceptionTypeDelegateException occured in method:updateReqState DAO UPDATE METHOD FAILED System Message: ORA-02291: integrity constraint (CAVAPPDB.R_1024) violated - parent key not found at com.cavali.commom.ExceptionHandler.handleDataAccessException(ExceptionHandler.java:106)

      at com.cavali.dao.opersettlement.cashfund.ReturnRequestsDAO.updateReqProcess()
    2. com.cavali.dao
      ReturnRequestsDAO.updateReqProcess
      1. com.cavali.dao.opersettlement.cashfund.ReturnRequestsDAO.updateReqProcess(ReturnRequestsDAO.java:390)
      1 frame
    3. com.cavali.buscomp
      BCReturnProcess.saveReturnProcess
      1. com.cavali.buscomp.operationsettlement.cashfund.settlementparameter.BCReturnProcess.saveReturnProcess(BCReturnProcess.java:728)
      1 frame