[JPA] 1. 환경세팅


[JPA] 1. 환경세팅

1. 프로젝트 생성 메이븐 설정 • groupId: jpa-basic • artifactId: ex1-hello-jpa • version: 1.0.0 라이브러리 추가 - pom.xml 자바 11 4.0.0 org.example jpa-basic 1.0-SNAPSHOT 11 11 UTF-8 javax.xml.bind jaxb-api 2.3.0 org.hibernate hibernate-entitymanager 5.3.10.Final com.h2database h2 1.4.200 JPA 설정하기 - persistence.xml JPA 설정 파일 • /META-INF/persistence.xml 위치 JPA 구동 방식 persistence.xml파일을 조회하여 Persistence 생성 Persistence가..


원문링크 : [JPA] 1. 환경세팅