[springboot]Can not set int field to null value 해결방법
VO 로 db 설정할 때, Int형 데이터를 추가 할 일이 생겼다..
추가 한 후, list불렀더니,
Can not set int field to null value
int형 data가 Null되어있기 때문에 오류가 나온다..
해결하기 위해서는
int aaaa;
-> Integer aaaa; 로 변경해서 다시 빌드하면 리스트가 0으로 초기화되서 나온다.
'server' 카테고리의 다른 글
[homebrew]java 설치하는방법 (0) | 2022.11.22 |
---|---|
[Homebrew]설치방법 (0) | 2022.11.22 |
[aws]Target is in an Availability Zone that is not enabled for the load balancer 해결방법 (0) | 2022.04.07 |
[linux]ec2 linux2 java jdk설치 가능한 파일 보는 방법 , 설치방법 (0) | 2022.04.06 |
[aws]ssh접속 시, ECDSA host key for azonaws.com has changed and you have requested strict checking해결방법 (0) | 2022.04.06 |