Wrong usage of @OneToMany returns empty list

后端 未结 0 1155
太阳男子
太阳男子 2021-01-18 05:59

I have two model classes:

Car which has owner field:

import lombok.Data;

import javax.persistence.*;

@Entity
@Data
public class Car {

    @Id
    @G         


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