Skip to content
Advertisement

Update DB column which has null value in Spring boot JPA

I am trying to update in the database with the help of the Spring JPA and having an issue while doing it. I have an Embedded class in my entity. My entity class is :

JavaScript

My Repository class is :

JavaScript

Audit, Transfer and Beneficiary Details are my Emededded class and those are :

JavaScript
JavaScript
JavaScript

My Controller class is:

JavaScript

My error stack trace is :

JavaScript

What I understand is that I have some null values in the columns of DB and I am trying to update them. Is there something I am missing? Could someone me help in this regard? Any help will be much appreciated. Thanks

Advertisement

Answer

Have you tried this?

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement