반응형
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
- COALESCE
- codebuild
- Flux
- PostgreSQL
- Jenkins
- docker
- chart.js
- Airflow
- codedeploy
- redis
- Python
- JavaScript
- chartjs
- AWS CI/CD 구축하기
- 도커
- aws
- node
- VPN
- Kafka
- codedeploy error
- SQL
- bootstrap
- java bigdecimal
- kubeflow
- Spring
- IntelliJ
- or some instances in your deployment group are experiencing problems.
- codepipeline
- Spring Error
- aws cicd
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 |