728x90
반응형
Error)
could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Cause)
entity에 있었던 Class 이름을 식별하기 쉽도록 CrawlingCrontabEntity로 변경했다. DB에서 가지고 와야하는 DB 테이블의 이름은 'CrawlingCrontab' 이었고, Entity에서 동일한 이름의 클래스를 생성해야 하는데 이름을 멋대로 바꿔버려서..
Sol)
main > java > com.example.web > entity > CrawlingCrontabEntity 클래스 이름을 DB 테이블의 이름과 같게 ''CrawlingCrontab''로 수정.
반응형