본문 바로가기
LEARN/ERROR

[ERROR] "could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement"

by 아이엠제니 2024. 2. 29.

 


 

 

 

"could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement"

 

어제까지 잘 되었는데, 갑자기 이런 에러가 떴다.

물론 내가 아닌 다른 분이 작업을 진행하시고 계셨던 걸 반영이 되기는 했다.

 

검색을 해봤더니, DB랑 Entitiy가 맞지 않아서 발생하는 오류라고 참고 블로그에 있는 분이 적어주셨다.

사실 테스트를 위한 로컬 db라서 나는 create로 db를 초기화했지만?

정말 운영 중인 db라면 눈앞이 캄캄하다.

어렵고 어려운 게 db인 것 같다.

 

 

참고: https://velog.io/@dmdwns2/Error-could-not-execute-statement-nested-exception-is-org.hibernate.exception.GenericJDBCException-could-not-execute-statement

300x250