StaleStateException while saving entity with OneToMany realtion (primary key on two columns)

前端 未结 0 905
孤街浪徒
孤街浪徒 2021-01-21 03:39

I can\'t modify database and add id column so i need to add primary key on pair group_id+username

@Entity
@Table(name = "group")
@Data
public class Grou         


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