| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- max lifetime
- 낙관적 락
- 프로세스의 상태
- query methods
- 프로세스
- binary search
- 정적 팩토리 메서드 패턴
- disjoint-sets
- BST
- force=true
- 후위 표기법
- prim 알고리즘
- 이진탐색트리
- merge-sort
- @version
- NoArgsConstructor
- 쿼리메소드
- 최대 유휴 시간
- static factory method pattern
- quick-sort
- kruskal 알고리즘
- JPA
- 비관적 락
- 최대 유지 시간
- 트리
- 중위 표기법
- 자료구조
- 알고리즘
- max idle time
- jparepository
Archives
- Today
- Total
목록JPA (1)
Dionysus
[개념] GenericDAO
✔️ 목차 🤔 GenericDAO란?여러 엔티티에서 반복적으로 사용되는 CRUD 로직을 일반화하여 제네릭(Generic) 타입으로 추상화한 부모 클래스이다. GenericDAO라고 관례적으로 이름 붙인다. 이를 통해 각 Repository 클래스가 공통적으로 필요로 하는 기능을 중복 구현하지 않고 재사용할 수 있게 할 수 있다. 예시 코드를 살펴보자. public abstract class GenericDAO { @PersistenceContext protected EntityManager em; private Class entityClass; public GenericDAO(Class entityClass) { this.entityClass = entityClass;..
웹 개발/백엔드
2025. 6. 6. 21:56