Skip to content

Comments

[Fix] JPA Auditing으로 생성되는 createdAt 필드가 null로 저장되는 문제 해결#82

Merged
Dimo-2562 merged 1 commit intomainfrom
fix/#81
Jun 2, 2025
Merged

[Fix] JPA Auditing으로 생성되는 createdAt 필드가 null로 저장되는 문제 해결#82
Dimo-2562 merged 1 commit intomainfrom
fix/#81

Conversation

@Dimo-2562
Copy link
Collaborator

🔍 개요

@CreatedDate가 붙은 createAt 필드에 insertable=false가 설정되어 있어서 JPA Auditing이 동작하지 않고 모든 레코드의 createdAt이 null로 저장됨

📝 변경사항

  • insertable=false 옵션을 제거하여 JPA Auditing이 정상 동작하도록 수정

close #81

@Dimo-2562 Dimo-2562 self-assigned this Jun 2, 2025
@Joon9750
Copy link
Collaborator

Joon9750 commented Jun 2, 2025

수고하셨습니다!

@Dimo-2562 Dimo-2562 merged commit 1ed1b15 into main Jun 2, 2025
1 check passed
@Dimo-2562 Dimo-2562 deleted the fix/#81 branch June 2, 2025 10:57
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.

[Fix] JPA Auditing으로 생성되는 createdAt 필드가 null로 저장되는 문제 해결

2 participants