-
Spring 버전에 맞는 Dependency 버전 찾기Spring Framework 2023. 2. 6. 00:01반응형
개요
Spring Batch 애플리케이션을 다루는 중 JPA에서 Cursor가 지원되지 않는다는 글을 보았습니다.
하지만 Spring Batch v4.3.0이 릴리즈 되면서 JpaCursorItemReader가 도입되었습니다.
이렇게 되면서 Spring Batch 4.3 버전을 사용하기 위해서 Spring Boot는 최소 몇 버전을 사용해야 할까?
라는 의문점에서 시작되어 Spring 버전에 맞는 Dependency 버전을 찾아보고자 합니다.
Dependency 버전 찾기
1. 스프링부트 사이트에 들어가서 사용하려는 스프링 부트 버전의 Reference Doc. 을 클릭
https://spring.io/projects/spring-boot#learn
Spring Boot
Commercial support Business support from Spring experts during the OSS timeline, plus extended support after OSS End-Of-Life. Publicly available releases for critical bugfixes and security issues when requested by customers.
spring.io
저는 여기서 2.6.13버전으로 찾아보았습니다.
2. 레퍼런스 문서 제일 하단 Dependency Versions 클릭
3. 사용하려는 라이브러리를 Ctrl + F로 찾아서 버전 확인
batch를 검색하였으며 4.3.7 버전을 지원한다는 것을 확인
참고자료
https://jojoldu.tistory.com/551
Spring Batch JpaCursorItemReader 도입되다.
Spring Batch 4.3이 릴리즈 되면서 JpaCursorItemReader 가 도입되었습니다. (Spring Batch 4.3 release notes)그 전 버전까지 (~4.2.x)는 JpaCursorItemReader가 없었음을 의미하는데요. HibernateCursorItemReader는 존재하는데,
jojoldu.tistory.com
https://itkevin.tistory.com/20
[Spring Boot] Spring boot 버전에 맞는 Dependency 버전 찾기
Spring이나 Spring Boot와 같은 프레임워크를 이용하여 개발을 진행할 때 외부 라이브러리 (API)를 사용하기 위해서 Dependency를 사용하는데 이때 내가 쓰는 프레임워크의 버전을 지원하는 라이브러리
itkevin.tistory.com
'Spring Framework' 카테고리의 다른 글
ThreadLocal이란? (0) 2023.05.19 Controller에서 List 받기(+ dto로 받고 validation) (0) 2023.03.22 토비의 스프링 부트 강의 요약 (0) 2023.01.29 @Transactional 어노테이션이란? (0) 2022.09.14 @SpringBootApplication의 역할 (0) 2022.06.24