---
title: "Discussion on \"JPA의 lazy loading과 read committed\" | Hashnode"
description: "Discussion on \"JPA의 lazy loading과 read committed\". 글의 목적\nJPA에서 lazy loading(FetchType.LAZY)을 사용해 N+1 문제를 해결할 수 있다고 한다. 그런데, 격리 레벨이 각각 repeatable read, read committed인 DBMS와 함께 사용 시 어떻게 작동하게 될까? 라는 질문에 대답하고자 한다.\n공통 상황\nTransaction A와 B가 있다고 하자.\n\nA에서 table T의 1~10번째 row를 select했다. 그러나 이 row들은 lazy loadi..."
url: "https://hashnode.com/posts/jpa-lazy-loading-read-committed/66ebdbf6c2977d6d3e661965"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JPA의 lazy loading과 read committed](https://gwonhong.hashnode.dev/jpa-lazy-loading-read-committed?utm_source=hashnode&utm_medium=feed)

글의 목적 JPA에서 lazy loading(FetchType.LAZY)을 사용해 N+1 문제를 해결할 수 있다고 한다. 그런데, 격리 레벨이 각각 repeatable read, read committed인 DBMS와 함께 사용 시 어떻게 작동하게 될까? 라는 질문에 대답하고자 한다. 공통 상황 Transaction A와 B가 있다고 하자. A에서 table T의 1~10번째 row를 select했다. 그러나 이 row들은 lazy loadi...

Sep 19, 2024 · 2 min read · gwonhong.hashnode.dev  
Read the article

-   [#repeatable-read](https://hashnode.com/tag/repeatable-read)
-   [#jpa](https://hashnode.com/tag/jpa)
-   [#lazy-loading](https://hashnode.com/tag/lazy-loading)

## Written by

[Gwon Hong](https://hashnode.com/@gwonhong)

@gwonhong · Seoul, KR

  
[View profile](https://hashnode.com/@gwonhong)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
