에러 메세지
Connection is read-only. Queries leading to data modification are not allowed
원인
Service 전체에 @Transactional(readOnly = true) 를 붙여주어 read 권한만 허용한 상황
해결
필요한 메서드에 @Transactional 를 붙이거나,
readOnly가 없는 클래스로 이동시키면 됨
'IT정보 > Error' 카테고리의 다른 글
git ignore - node_modules (안되는 경우 처리 방법) (1) | 2024.08.28 |
---|---|
[Mac] 맥OS 업데이트 후, xcode 에러 해결(+ Software Update 어쩌고..) (0) | 2024.08.27 |
zsh: command not found: nvm (1) | 2023.06.15 |
[Error] JTA에러 "XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency" (1) | 2023.04.24 |
There are stopped jobs. (0) | 2022.09.05 |