@Column(name=“alternative”) on a filed of Embeddable class makes @AttributeOverrides in Entity class not necessary?

后端 未结 0 1966
南旧
南旧 2020-11-27 16:02

I have same-named field (int phone;) both in my entity class and in the embedded class. As per JPA Specification I shall use @AttributeOverrides in

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