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

[1장] JPA 소개 #1

Open
iyoungman opened this issue Oct 17, 2020 · 0 comments
Open

[1장] JPA 소개 #1

iyoungman opened this issue Oct 17, 2020 · 0 comments

Comments

@iyoungman
Copy link
Contributor

SQL 문제

  • 진정한 계층 분할 어렵다
  • 엔티티 신뢰X
  • SQL 의존적인 개발

패러다임의 불일치

  • 객체와 관계형 DB 차이점
  1. 상속
  2. 연관관계
    • 단방향, 양방향

JPA 소개

  • 패러다임 불일치 해결

마이바티스, JdbcTemplate 와 차이점?

  • 둘은 SQL 매퍼

  • 객체와 SQL 을 매핑하는 역할

    • 따라서 SQL을 객체와 매핑하는 역할은 얘네들이 해준다.
  • 하지만 SQL 을 직접 작성해야하므로 SQL 의존적인 개발은 그대로이다.

  • JPA는 SQL 매핑 + SQL 을 알아서 만들어주므로, SQL 의존적인 개발도 피할 수 있다.

@iyoungman iyoungman changed the title [1장] JPA 소개 - iyoungman [1장] JPA 소개 Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant