Skip to content

feat: JpaAuditingConfig 추가#30

Merged
LgE02 merged 1 commit into
developfrom
chore/#29
May 7, 2026
Merged

feat: JpaAuditingConfig 추가#30
LgE02 merged 1 commit into
developfrom
chore/#29

Conversation

@zzuhannn

Copy link
Copy Markdown
Member

🔎 관련 이슈

📋 작업 내용

  • JpaAuditingConfig 추가하여 @EnableJpaAuditing 활성화
  • 기존 BaseEntity@CreatedDate/@LastModifiedDate 어노테이션이 실제로 동작하도록 수정

💡 알림

  • 기존에 created_at/updated_at 컬럼이 NULL로 저장되던 문제를 수정합니다 (어노테이션은 있었으나 @EnableJpaAuditing이 어디에도 없어서 무동작 상태였음)
  • 머지 후부터 새로 INSERT되는 모든 엔티티는 두 필드가 자동 채워집니다
  • 기존 NULL 데이터 백필은 별도 작업입니다

✅ 체크리스트

  • 빌드 성공
  • 머지 후 새로 INSERT한 엔티티에서 created_at 자동 채워지는지 확인

BaseEntity의 @CreatedDate/@LastModifiedDate가 실제로 동작하도록
@EnableJpaAuditing 활성화

@Joonseok-Lee Joonseok-Lee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 기능상 문제는 없어 보입니다. 다만, 특별히 해당 설정을 활용할 곳이 없다면, KkumteulApplication 클래스에 @EnableJpaAuditing을 작성해주어도 똑같이 기능하므로, 참고 바랍니다.

@Joonseok-Lee Joonseok-Lee requested review from Joonseok-Lee and LgE02 and removed request for Joonseok-Lee May 4, 2026 03:41
@LgE02 LgE02 merged commit 60de216 into develop May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants