Spirng Boot Project 3주차 회고

이번 주 키워드는 대부분이 내용이 많고 어려워서 구현을 위해 참고한 링크만 정리했습니다. 시간이 될 때 하나씩 정리하려고 합니다.

1. 왜 JPA를 사용하는 가?

Why JPA?chevron-rightBetween JPA and JDBCchevron-right

2. 디미터 법칙

  • 디미터 법칙이란?

디미터 법칙chevron-right
  • 문제 코드

(!joinForm.getPassword().equals(joinForm.getReconfirmPassword()))
  • 개선후

(!joinForm.isSamePassword())

3. Bean Validation

4. AOP

5. @Autowired vs Constructor Dependency Injection

@Autowired vs Constructor Dependency Injectionchevron-right

6. 오류 코드

오류 코드chevron-right

7. JPA 테이블명 네이밍 전략

8.Entity 에서 @NotNull 필드를 삭제

DataIntegrityViolationException 발생

9. 트랜잭션의 ACID 속성

ACID properties of transactionschevron-right

10. spring.jpa.open-in-view?

11. assertSoftly

Last updated