I used reverse engineering in myysqlworkbench to map entities. However, bugs occur in 1:1 identification mapping.
Bug: After one-to-one mapping, it works well until forward engineering (which also uses Synchronize Model)
But when I connect to EER Diagram through reverse engineering again, One-to-one mapping changes to one-to-n-mapping. (1: Parent / N : Child)
Here are the photos I captured.
- user : teacher @OneToOne identification mapping
- forward Engeineering Success
- Reconnect EER Diagram to reverse Engineering
I tried setting up UQ on user_id (fk,pk) in the teacher table and applied the Synchronize Model, but it doesn't work.
Let me know what bug it is. Help me~