“org.hibernate.MappingException: Repeated column in mapping for entity” when column in table referencing to multple difference tables

前端 未结 0 1817
醉酒成梦
醉酒成梦 2021-02-08 19:04

How can I let a column referencing to multiple tables. See code below.

@Entity
@Table(name = "company")
public class Company {

    @Id
    @GeneratedVa         


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