Hi All,
I am getting the below error at write to multiple data story entities node ( Note ISRJMeetingAdhocReviewer --This is not a new table )
An error occurred while trying to write to the data store [ISR Data Store]. No values have been written. Details: org.hibernate.PropertyValueException: not-null property references a null or transient value : ISRJMeetingAdhocReviewerDT8605.studyRequestId (APNX-1-4208-004)
Thanks in advance
Discussion posts and replies are publicly visible
What are the data stores that you are trying to write in this and also do these entities have relationship or any Foreign key addresses against each other? Your error basically is about not having a value/id where it is defined as mandatory or not-null in the database structure. Please pass a value to the mentioned column in the error as it is defined as not-null in the structure.
Seems that you are tyring to insert a null value in a columns that does not accept nulls
in your table structure, there is a column studyRequestId which should not accept null values and you are trying to pass the null values, that;s why you got the issue. As a suggestion, add primary key as a auto generated. hope it will solve the problem if this is for primary key column, if it is for other column you have to check into table structure.
Hi Gayathri,
Actually its not the primary key and I dont have any data for this table even we have given null check also .we are using multi data store entity and have data for other tables but getting this error.
Where have you provided the null check?