SyntaxFix
Write A Post
Hire A Developer
Questions
I was getting the same error but solved it finally,actually i was not setting the Object Entity which is already saved to the other entity and hence the Object value it was getting for foreeign key was null.