| @ManyToOne package org.kyhslam.jpa; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; @Entity public class Study { @Id @GeneratedValue private Long id; private String name; // 하나의 계정으로 여러 study를 만들 수 있기 때문에 MaytoOne이다. // (뒤에께 해당 컬럼에 해당) // 햇갈릴 경우에는 앞쪽이 해당클래스(Study)이고 뒤쪽이 해당 컬럼(Account) @ManyToOne private ..