'Basic' attribute type should not be a container

아홍·2023년 7월 25일

연관관계 매핑을 해주면 된다.

e.g.
BEFORE

    private List<Todo> todoList = new ArrayList<>();

AFTER

    @OneToMany(mappedBy = "MEMBER")
    private List<Todo> todoList = new ArrayList<>();`

0개의 댓글