일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 스프링
- Exception
- 김영한
- 스프링 핵심 원리
- JPQL
- Android
- 자바
- transaction
- http
- Thymeleaf
- 알고리즘
- 백준
- kotlin
- QueryDSL
- SpringBoot
- JDBC
- Proxy
- AOP
- java
- db
- Spring Boot
- springdatajpa
- 스프링 핵심 기능
- pointcut
- 그리디
- Greedy
- spring
- Servlet
- jpa
- 인프런
- Today
- Total
목록동기화 (2)
개발자되기 프로젝트
1. Critical Section과 semaphore Critical Section은 두 개 이상의 thread가 동시에 에 접근 하는 경우 문제가 발생할 수 있기 때문에 동시에 접근할 수 없는 영역 semaphore는 특별한 형태의 시스템 객체이며 get/release 두 개의 기능이 있다. 한 순간 오직 하나의 thread만이 semaphore를 얻을 수 있고, 나머지 thread들은 대기(blocking)상태가 된다. semaphore를 얻은 thread만이 critical section에 들어갈 수 있다. 2. Park 과 Park2 가 동시에 Bank 자원에 접근하여 작업이 이루어지는 경우의 예제 Shared resource : Bank객체 Critical Section : saveMoney(..
https://github.com/bsh6463/BookManager bsh6463/BookManager Contribute to bsh6463/BookManager development by creating an account on GitHub. github.com 1. Entity Manager Entity Manager란? Entity의 저장, 수정, 삭제, 업데이트 등 말그대로 entity를 관리함. 기존에 사용한 simple jpa repository는 직접적으로entity manager를 사용하지 않도록 감싸 spring에서 제공했음 실제 내부 동작은 entity manager을 통해서 이루어진다. 따라서 spring data jpa에서 제공하지 않는 기능을 사용하거나 특별히 custom을 할..