Closed MrMoon closed 3 years ago
in the patient model the room and the doctor assigned can be null, and I inserted a record in the database with them as null, but can not do it using the spring data and repositories
Maybe you can change the models so that the patient entry have the room and the doctorId, which actually make more sense
in the patient model the room and the doctor assigned can be null, and I inserted a record in the database with them as null, but can not do it using the spring data and repositories