ㅁ오랜만에 JPA 포스팅 JPA는 데이터베이스를 객체지향으로 표현한 ORM이라고 알고 있다. 그렇다는 소리는 객체지향 처럼 상속을 제공한다는 뜻이 된다. 일반적으로 상속은 extends를 사용하게 되어진다. 간단하게 코드를 작성해봤다. @Entity public abstract class School { @Id @GeneratedValue private Long id; private String name; } @Entity public class HighSchool extends School {} 이렇게 작성하고 나서 SQL를 확인했다. create table School ( DTYPE varchar(31) not null, id int8 not null, name varchar(255), primary..