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

前端 未结 0 1603
萌比男神i
萌比男神i 2021-02-08 19:10

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

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

    @Id
    @GeneratedVa         


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