네이티브쿼리
[오류해결::JPA] Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
[오류해결::JPA] Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
2022.06.24문제 발생 JpaRepository에 @Query 애너테이션에 nativeQuery = true 옵션을 추가하고 서버를 실행하니 다음과 같은 오류들이 발생했습니다. 오류 Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "CREATEDATE" not found; SQL statement: FAILED org.springframework.dao.InvalidDataAccessResourceUsageException at QueryAnnotationTest.java:43 Caused by: org.hibe..