이번 주 키워드는 대부분이 내용이 많고 어려워서 구현을 위해 참고한 링크만 정리했습니다. 시간이 될 때 하나씩 정리하려고 합니다.
(!joinForm.getPassword().equals(joinForm.getReconfirmPassword()))
(!joinForm.isSamePassword())
2023-04-18 06:08:39.320 WARN 67167 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 23503, SQLState: 23503
2023-04-18 06:08:39.320 ERROR 67167 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : Referential integrity constraint violation: "FKE5HJEWHND6TRRDGT8I6UAPKHY: PUBLIC.POST FOREIGN KEY(ACCOUNT_ID) REFERENCES PUBLIC.ACCOUNT(ACCOUNT_ID) (CAST(2 AS BIGINT))"; SQL statement:
delete from account where account_id=? [23503-214]
2023-04-18 06:08:39.321 INFO 67167 --- [nio-8080-exec-2] o.h.e.j.b.internal.AbstractBatchImpl : HHH000010: On release of batch it still contained JDBC statements
2023-04-18 06:08:39.324 WARN 67167 --- [nio-8080-exec-2] k.c.cafe.global.GlobalExceptionHandler : request:url /user/delete
2023-04-18 06:08:39.324 WARN 67167 --- [nio-8080-exec-2] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FKE5HJEWHND6TRRDGT8I6UAPKHY: PUBLIC.POST FOREIGN KEY(ACCOUNT_ID) REFERENCES PUBLIC.ACCOUNT(ACCOUNT_ID) (CAST(2 AS BIGINT))"; SQL statement:<EOL>delete from account where account_id=? [23503-214]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement]