JPA - 1 엔티티 매니저, 영속성 컨텍스트에 대해
1.Entity ManagerEntity Manger란 무엇인가?The EntityManager is an API that manages the lifecycle of entity instances. An EntityManager object manages a set of entities that are defined by a persistence unit. Each EntityManager instance is associated with a persistence context.IBM에서 정의한 엔티티 매니저는, 엔티티의 인스턴스의 생명주기를 관리하는 API로,각 EntityManager 인스턴스는 영속성 컨텍스트와 연결되어 있는 것을 강조한다.그렇다면, 엔티티 매니저는 어떻게 생성되고, 어떻게 데이터..
스프링
2024. 9. 10. 17:01
- Total
- Today
- Yesterday