Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

[리팩터링] SecurityContext 안의 Member 엔티티를 영속 상태로 변경 #204

@NaRDo627

Description

@NaRDo627

이번에 출석체크 기능 작업하면서 알게된 사실인데, SecurityContext 속 엔티티도 영속 상태로 만들 수 있다!
(Interceptor 지점부터 Transactional 경계, 즉 영속성 컨텍스트 시작과 끝을 지정할 수 있을 것 같다.)
만약 Member 엔티티를 영속상태로 만들 수 있다면, 조회 수를 줄이는 등 코드를 좀 더 간결하게 만들 수 있을 것 같다.
물론 관련된 모든 코드가 수정 되어야 함..

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions