반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- PostgreSQL
- java bigdecimal
- Jenkins
- redis
- Spring Error
- SQL
- docker
- IntelliJ
- VPN
- aws
- aws cicd
- Flux
- codebuild
- Python
- JavaScript
- bootstrap
- or some instances in your deployment group are experiencing problems.
- Airflow
- node
- chartjs
- kubeflow
- Kafka
- 도커
- codedeploy error
- AWS CI/CD 구축하기
- chart.js
- Spring
- COALESCE
- codedeploy
- codepipeline
Archives
- Today
- Total
Small Asteroid Blog
Table 'DB_NAME.hibernate_sequence' doesn't exist 본문
728x90
방법1.
Table 'DB_NAME.hibernate_sequence' doesn't exist
의 오류가 나오면
다음 내용을 추가
spring.jpa.hibernate.use-new-id-generator-mappings=false
방법 2
@Id
//@GeneratedValue(strategy= GenerationType.SEQUENCE)
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Integer id;
SEQUENCE 대신 IDENTITY를 사용한다
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
[spring] postgresql 이름의 릴레이션(relation)이 없습니다 (0) | 2021.05.13 |
---|---|
Unknown column '' in 'field list' on MySQL error (0) | 2021.05.04 |
[spring] application.properties 의 datasource 설정하기(port, db) - DB연결하기 (0) | 2021.04.27 |
JPA Auditing (0) | 2021.04.22 |
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (0) | 2021.04.22 |