Skip to content

[Chapter 08] extends JpaRepository<?,?> #110

Discussion options

You must be logged in to vote

Q1. JpaRepository의 구현체인 SimpleJpaRepository.class에
이미 Repository 어노테이션이 적용되어 있어
컴포넌트 스캔의 대상이 되기 때문입니다.

@repository는 Component 어노테이션에 더불어 DB연동중 발생하는 에러를 스프링 에러로 바꿔주는 역할을 한다고 합니다 !

Q2. 잘 모르겠어서 다른 분들의 답변 부탁드립니다 ! (혹시 확장자 yaml이 아니라 yml ..?)

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@corock
Comment options

@ahngilwoong
Comment options

Answer selected by coalong
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@corock
Comment options

Comment options

coalong
Nov 5, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chapter08 데이터 영속성
6 participants