Hello Folks,
I am getting this error while write to Data store entity.:"An error occurred while trying to write to the data store. No values have been written. Details: org.hibernate.PropertyValueException: not-null property references a null or transient value :"
Can anyone help me on this? Actually I want one column in a table is non nullable that is also behave as a foreign key.
Thanks
Discussion posts and replies are publicly visible
I kept it as it is. NOT NULL. It worked.
Yep, as long as you populate it before your first attempt to write a row, that'll work fine. The only reason you'd change this is if you wanted to write the row and then populate the FK later for some reason.
manjit.1486 said:I kept it as it is. NOT NULL
Glad to know, It's always error from process and the way it designed . Just remember don't use write to multiple datastore entity for writing new entry when there is Parent -child relationship
Okay, got it.