Topic : Hibernate CrudRepository delete function is not working.
I have the code here: https://github.com/vishwabhat19/Instructor.git
Instructor has a one to one unidirectional relation with InstructorDetail as shown below:
In my SpringBoot Application class I am saving the entity and deleting the same.
The save is working, but the delete is not. I still have that entry in my mySQL database. There is no error/exception.
1. Why is the delete not working?
2. Every time I run the program(application class) why is a new record not created in the Instructor and InstructorDetail table ?
Thanks in advance.