Java Spring @MappedSuperclass field as @Id field in child class

后端 未结 0 1197
灰色年华
灰色年华 2020-12-16 12:35

I have the following superclass that will be extended by many classes. Its one property, foreignKey, will be the @Id for one of the inheriting classes.

The superclass

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