반응형
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 | 31 |
Tags
- VPN
- codedeploy error
- SQL
- Spring Error
- redis
- node
- aws cicd
- java bigdecimal
- codedeploy
- Spring
- Airflow
- Jenkins
- Kafka
- 도커
- IntelliJ
- chartjs
- AWS CI/CD 구축하기
- Python
- aws
- chart.js
- bootstrap
- docker
- Flux
- PostgreSQL
- codepipeline
- codebuild
- COALESCE
- or some instances in your deployment group are experiencing problems.
- kubeflow
- JavaScript
Archives
- Today
- Total
Small Asteroid Blog
[error] spring column insert="false" update="false" 본문
728x90
spring boot / jpa 로 작업을 하던 중에
외래키와 이름이 동일한 컬럼이 있는채로 실행했을 때 아래와 간은 오류가 났다.
spring column insert="false" update="false"
오류를 해결하기 위해선 필드에 다음 옵션을 추가해주면 된다
@Column(insertable=false, updatable=false)
private BigInteger api_info_id;
이 컬럼은 추가/수정이 불가능하다고 선언하는것이다.
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
[spring error] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception (0) | 2021.05.20 |
---|---|
[hibernate error] ids for this class must be manually assigned before calling save() (0) | 2021.05.20 |
java.lang.IllegalArgumentException: Unknown return value type: java.math.BigInteger (0) | 2021.05.18 |
saveAndFlush() / save() (0) | 2021.05.17 |
orphanRemoval (0) | 2021.05.17 |