79137100

Date: 2024-10-29 12:03:18
Score: 2
Natty:
Report link

At first add @JoinColumn(name = "user_id") for user property,then instead of trying to set the Doctor's ID directly, retrieve the User entity first and then set it in the Doctor object before saving it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Soheil Babadi