Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

서비스 - 캐시 DAO - JDBC DAO 계층으로 구성 #26

Open
2 tasks
dolgodolah opened this issue Nov 5, 2022 · 0 comments
Open
2 tasks

서비스 - 캐시 DAO - JDBC DAO 계층으로 구성 #26

dolgodolah opened this issue Nov 5, 2022 · 0 comments
Assignees

Comments

@dolgodolah
Copy link
Owner

dolgodolah commented Nov 5, 2022

Description

Describe the feature.

To do

  • JPA 영속성 컨텍스트의 1차 캐시가 아닌, 서버 캐시 탈 수 있도록 JPA @ManyToOne 연관관계 제거
  • what you want to do.

Reference

@dolgodolah dolgodolah self-assigned this Nov 5, 2022
dolgodolah added a commit that referenced this issue May 6, 2023
- `@EnableJpaRepositories` 설정을 할 경우 JpaRepository를 상속받는 인터페이스는 자동으로 빈 등록이 된다.
- Spring Boot에서는 `@EnableJpaRepositories` 어노테이션이 자동으로 설정된다.
- 즉 `@Repository` 어노테이션을 따로 추가하지 않아도 되지만, 추후 확장성을 위한 DAO Interface 추가 시 구분을 위해 어노테이션 명시.
dolgodolah added a commit that referenced this issue Jul 2, 2023
- 추후 DAO 확장성 위해 PlaylistRepository Interface로 선언
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

No branches or pull requests

1 participant