java.sql.SQLIntegrityConstraintViolationException
트랜잭션 실습하다가 발생했다.
데이터베이스에서 무결성 제약 조건(Integrity Constraint)을 위반했을 때 발생한다.
예시로 중복된 키 삽입, NULL을 허용하지 않는 열에 NULL 값을 삽입하려고 할 때 등 다양한 상황에서 발생할 수 있다.
'에러일기' 카테고리의 다른 글
java.lang.NumberFormatException: For input string: "null" (0) | 2024.11.06 |
---|---|
org.springframework.dao.EmptyResultDataAccessException (0) | 2024.11.03 |
java.nio.file.AccessDeniedException (1) | 2024.10.23 |
org.springframework.web.multipart.MultipartException (0) | 2024.10.21 |
the server responded with a status of 415 () (0) | 2024.10.14 |