JPA
[JPA] Table 'mysql.hibernate_seq' doesn't exist 오류 해결
jojelly
2024. 3. 4. 17:55
반응형
Entity Table생성시 @Id생성 컬럼에
@GeneratedValue(strategy = GenerationType.Auto)
를
@GeneratedValue(strategy = GenerationType.IDENTITY)
로 변경해준다.
참조
https://mkyong.com/spring-boot/spring-boot-mysql-table-db_name-hibernate_sequence-doesnt-exist/
반응형