Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- spring
- 알고리즘
- 그리디
- transaction
- Proxy
- pointcut
- SpringBoot
- 스프링 핵심 기능
- 김영한
- kotlin
- 백준
- 인프런
- 자바
- Android
- QueryDSL
- JPQL
- 스프링
- Servlet
- Spring Boot
- springdatajpa
- http
- Thymeleaf
- 스프링 핵심 원리
- db
- AOP
- JDBC
- java
- Exception
- jpa
- Greedy
Archives
- Today
- Total
목록entityManagerFactory (1)
개발자되기 프로젝트
Hello JPA
1. JPA 구동방식 Persistence에서 설정정보 조회 EntityManagerFactory 생성 - EntityManagerFactory는 애플리케이션 로딩 시 딲! 하나 만 만들어 놔야함. - EntityManagerFactory 생성위해서는 PersistenceUnitName이 필요 - PersistenceUnitName은 persistence.xml에서 입력한 값이다. - entityManagerFactory를 만드는 순간 DB랑 연결도 완료됨. EntityManager 생성 - 쿼리를 날리기 위해서는 EntityManagerFactory에서 EntityManager를 꺼내야 함. - DB커넥션을 얻고 종료되는 Transaction 단위마다 entityManager 생성 필요. -->쉽게말해..
인프런/[인프런] 자바ORM 표준 JPA 프로그래밍
2021. 8. 8. 20:43