In hibernate insert data in to one table with foreign key without disturbing other table

前端 未结 0 1594
栀梦
栀梦 2021-02-10 19:03

here I have 2 classes

  1. department(did, dname)
  2. employee [id, name, address, department(did)] here department column is a foreign key from department table.
相关标签:
回答
  • 消灭零回复
提交回复
热议问题