728x90 반응형 SMALL spring boot jpa2 Spring Boot + JPA + openjdk 11 Error (Error creating bean with name 'entityManagerFactory') Spring Boot + JPA 샘플 프로젝트로 이것저것 하다가 JDK 를 openjdk11로 변경했더니 startup 할 때 오류가 발생한다. [상황] 16:27 ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method.. 2019. 1. 9. Spring Data JPA 기초 #1 Spring Data JPA에 대해서 알아보자. JPA 처리를 담당하는 Repository는 기본적으로 4가지가 있다. Repository CrudRepository PagingAndSortingRepository JpaRepository T는 Entity의 타입클래스이고 ID는 P.K 값의 Type 이다. CrudRepository는 관리되는 엔티티 클래스에 대해 정교한 CRUD 기능을 제공한다. public interface CrudRepository extends Repository { S save(S entity); Optional findById(ID primaryKey); Iterable findAll(); long count(); void delete(T entity); boolean exi.. 2019. 1. 7. 이전 1 다음 728x90 반응형 LIST