MrMoon / Bloom

Hospital ERP with Data Analysis - Database Systems Course Project
0 stars 0 forks source link

Can not insert a null value in some columns #60

Closed MrMoon closed 3 years ago

MrMoon commented 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

MrMoon commented 3 years ago

Maybe you can change the models so that the patient entry have the room and the doctorId, which actually make more sense