본문 바로가기
백엔드/DB

postgresql - relation "hibernate_sequence" does not exist

by 작은소행성 2021. 5. 14.

 

spring controller 에서 db에 저장 하려고 하는데

 

relation "hibernate_sequence" does not exist

다음과 같은 에러가 나왔다.

 

 

 

 

내 경우는

application.properties 에 아래 내용을 추가해주니 해결되었다.

spring.jpa.hibernate.ddl-auto=update

 

 

 

반응형