Connection is read-only. Queries leading to data modification are not allowed (1) 썸네일형 리스트형 [@Transactional] Connection is read-only. Queries leading to data modification are not allowed Connection is read-only. Queries leading to data modification are not allowed 이 에러 메시지는 "Connection is read-only. Queries leading to data modification are not allowed"로, 데이터베이스 연결이 읽기 전용(read-only) 모드로 설정되어 있어 데이터 수정을 허용하지 않는 쿼리가 실행되었음을 나타낸다. 읽기 전용 모드 @Transactional(readOnly = true) INSERT, UPDATE, DELETE와 같은 작업 시도해서 에러 발생 해결 방법 데이터베이스 연결 설정을 검토하여 읽기 전용 모드가 아닌 읽기-쓰기 모드로 설정되어 있는지 확인 읽기 전용 모드를 사용해.. 이전 1 다음