인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

Jelichoi's profile image
Jelichoi

asked

Developing Spring and JPA based web applications

Check your membership registration confirmation email

findByEmail로 조회가 되는 이유

Written on

·

378

0

안녕하세요 강의 보면서 따라하는 와중에 아직 DB연결을 하지 않았는데 조회가 되는이유가 문득 궁금해져서 글을 남깁니다.

내부적으로 h2 database가 디폴트로 동작해서 해당하는 Account Entitiy클래스로 테이블이 생성되고 조회가 되는것이라 생각이 드는데 맞을까요?

javaspringthymeleafJPAspring-boot

Answer 1

0

whiteship님의 프로필 이미지
whiteship
Instructor

네 맞습니다. h2 인메모리 DB를 사용하고 있어서 DB 설정은 안한것 같지만 사실 스프링 부트가 기본 DB 설정으로 만들어 준 DB를 사용하고 있어요.

Jelichoi's profile image
Jelichoi

asked

Ask a question