JPA2 [Spring jpa] could not extract ResultSet; SQL [n/a] error SpringBoot 기반에서 JPA를 이용한 restful api를 작업하는 과정에서 심심찮게 아래 오류가 종종 발생한다. could not extract ResultSet; SQL [n/a] org.hibernate.exception.SQLGrammarException: could not extract ResultSet 원인은 코드로 작성된 entity와 db table의 동기화가 맞지 않아 발생한 오류로 나의 경우엔 assign_min_battery column이 없어 발생한 오류다. "동기화 후 다시 작업 시작~" 2022. 2. 1. springboot initializer 로 jpa library 추가 후 실행 오류 springboot initializer로 jpa를 추가한 project 생성 후 initellij로 실행시 아래 오류가 발생한다. 처음엔 build.gradle 파일에서 jpa 부분만 제거 후 실행 동작하길래 project 빌드가 잘못된것으로 알았다. *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable drive.. 2021. 12. 17. 이전 1 다음