Questions tagged [data-jpa-test]

16 questions
0
votes
0 answers

Hibarnate - Picking a fields as null even when object has that field value

I am writing some unit testcases for repository using DataJpaTest. When I am testing the .save() method. I am getting this error: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint…
Drashti Dobariya
  • 2,455
  • 2
  • 10
  • 23
1
2