How can I mark a foreign key constraint using Hibernate annotations?

后端 未结 0 1691
灰色年华
灰色年华 2020-12-23 04:46

I am trying to use Hibernate annotation for writing a model class for my database tables.

I have two tables, each having a primary key User and Question.

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题