일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Kotlin in action 5장
- 스프링 핵심 원리 - 기본편
- 컨베이어 벨트 위의 로봇 Python
- 20055 컨베이어 벨트 위의 로봇
- 스프링 핵심 원리
- 코틸린인액션
- 객체 지향 설계와 스프링
- Kotlin
- spring
- Python
- 스프링 핵심 원리 이해
- 고급매핑
- KotlinInAction
- Kotlin In Action
- 코틀린인액션
- 코틀린
- 백준 13460 Python
- kotlin in action 정리
- 싱글톤 컨테이너
- Kotlin in action 3장
- 백준 20055 컨베이어 벨트 위의 로봇
- 7장 고급매핑
- Kotlin in action 10장
- Kotlin in action 6장
- 기능개발 python
- 백준
- 스프링 컨테이너와 스프링 빈
- 13460 구슬탈출 2
- 20055
- 자바 ORM 표준 JPA 프로그래밍 7장
- Today
- Total
목록2022/07/12 (26)
기록하는 습관
batch insert insert rows 여러 개 연결해서 한 번에 입력하는 것을 Batch Insert라고 한다. Batch Insert는 하나의 트랜잭션으로 묶이게 된다. batch insert with jpa 쓰기 지연 엔티티 매니저는 트랜잭션을 커밋 하기 직전까지 데이터베이스에 엔티티를 저장하지 않고 내부 쿼리 저장소에 INSERT SQL을 모아둔다. 그리고 트랜잭션을 커밋 할 때 모아둔 쿼리를 데이터베이스에 보내는데 이것을 트랜잭션을 지원하는 쓰기 지연이라 한다. 옵션 설정 rewriteBatchedStatements=true 해당 속성이 있어야 batch insert 동작 MySQL Connector/J 8.0 Developer Guide : 6.3.13 Performance Extensi..
0. redis 자료 구조 Hashes Every hash can store up to 232 - 1 field-value pairs (more than 4 billion). → key 1개 당, 약 42억개의 field-value 저장 가능. Sets The max number of members in a set is 232 - 1 (4294967295, more than 4 billion of members per set). → key 1개 당, 약 42억개의 member 저장 가능. 참고 https://redis.io/topics/data-types#sets https://minsoolog.tistory.com/33 1. bulk Insert MySQL에서는 bulk insert를 지원하지만 Red..

##1. 개요 swagger를 사용하기 위해서 제공되는 라이브러리는 springfox와 springdoc이 있다. springfox는 2020년이 마지막 라이브러리 업데이트이며(swagger3), 그 사이에 springfox가 나왔고 springfox는 2022년까지 업데이트 중이다. springfox는 2015년까지 SpringMVC였다가 sprinfox로 이름이 바뀌었다. 2018년 업데이트까지만 해도 webflux를 지원하지 않았지만 2020년 업데이트 때 webflux를 지원하여 springdoc과 비슷해졌다. ##2. swagger 2 vs OpenAPI3 참고: https://nordicapis.com/whats-the-difference-between-swagger-and-openapi/ s..
hikaricp connection https://jaehun2841.github.io/2020/01/27/2020-01-27-hikaricp-maximum-pool-size-tuning/#GeneratedValue-strategy-x3D-GenerationType-AUTO tomcat property https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html hikaricp property https://freedeveloper.tistory.com/250 https://jamong-icetea.tistory.com/212
1. java version 업그레이드 java 1.8 → 11 변경 2. 컴파일 오류 수정 java를 인식하지 못하는 에러 → JAVA_HOME 변경으로 해결 5. 테스트 수행 build & 실행 확인 api 호출 정상 동작 확인
1. gradle 업그레이드 5.0-all 버전에서 7.4.1 버전으로 업데이트 2. springboot version 및 라이브러리 버전 변경 spring-boot-starter 2.1.6.RELEASE로 변경 라이브러리 업데이트 의존성(2.6.4) : https://docs.spring.io/spring-boot/docs/2.6.4/reference/html/dependency-versions.html#appendix.dependency-versions 3. 라이브러리 교체 및 주요 변경사항 수정 참고: 2.4 부터 변경된 구성파일 처리방식 살펴보기 2.1.6.RELEASE 2.6.4 참고 application.yml spring.profiles.include spring.profiles.includ..

1. gradle 업그레이드 3.4.1 버전에서 5.0-all 로 교체 2. 마이그레이션 지원 라이브러리 의존성 추가 runtime("org.springframework.boot:spring-boot-properties-migrator") 3. springboot version 및 라이브러리 버전 변경 spring-boot-starter 2.1.6.RELEASE로 변경 라이브러리 업데이트 의존성(2.1.x) : https://docs.spring.io/spring-boot/docs/2.1.x/reference/html/appendix-dependency-versions.html 4. 라이브러리 교체 및 주요 변경사항 수정 5. bean overriding 설정 변경 스프링부트 2.1 부터는 overrid..
개요 java version (1.8 → 11) springboot (1.5.4.RELEASE → 2.6.4) 2.6.4 버전인 이유: 안정된 버전 중, 최신 버전. release 시기: 2022. 2. 24 release note gradle 7.4 7.4 버전인 이유: 최신 버전 release note 전략 spring boot 공식 가이드대로 진행 springboot 1.5.4.RELEASE → 2.1 → 2.6.4 순서로 진행 절차1. gradle & springboot gradle 7.4 업그레이드 (springboot를 2.6.4로 upgrade 하면 gradle을 최소 6.8 이상으로 진행해야 함.) 마이그레이션 지원 라이브러리 의존성 추가 springboot 2.1 업그레이드 (2번째 cy..