WHEN I RUN THE PROCESS MODEL I GOT THIS ERROR , HOW CAN I RESOLVE THIS ERROR :.An error occurred while trying to write to the data store [K_EMPLOYEE_DETAILS_DSE]. No values have been written. Details: org.hibernate.exception.ConstraintViolationException: could not execute statement (APNX-1-4208-004) .
CAN ANY ONE PLEASE TELL ME WHAT IS THE PROBLEM ?
Discussion posts and replies are publicly visible
Hello Samudrala, Can you show us how you have configured your Write to multiple data store entities.
I AM TAKING 3 EMPLOYEE FORMS :
1. EMPLOYEE DETAILS
2.EMPLOYEE PERSONAL DETAILS
3.EMPLOYEE ADDRESS DETAILS
I AM CONFIGURING THIS TWO IN ONE COMPONENT (WRITE TO TO DATA STORE ENTITY ).
I WRITE THIS CODE IN MULTIPLE DATA STORE ENTITY COMPONENT
= { a!entityData( entity: cons!E_EMPLOYEE_PERSONAL_DTLS_CONSTANT, data: { pv!E_EMPLOYEE_PERSONAL_DTLS } ), a!entityData( entity: cons!E_EMPLOYEE_ADDRESS_DTLS, data: { pv!E_EMPLOYEE_ADDRESS_DTLS_INTERFACE } )},
THIS IS MY DATA STORE ENTITY : K_EMPLOYEE_DETAILS_DSE , I ADDED THOSE 3 ENTITYS.
I GOT THIS ERROR : An error occurred while trying to write to the data store [K_EMPLOYEE_DETAILS_DSE]. No values have been written. Details: org.hibernate.exception.ConstraintViolationException: could not execute statement (APNX-1-4208-004)
Looks like you are not configuring the Entity & Data for your 1. Employee Details.
Its a null exception. Make sure your employee details have the value.
THANK YOU KONDURU CHAITANYA