
개요 SpringBoot Batch에서 JobParameter로 받을 수 있는 타입에 대하여 이야기 합니다. 이슈 SpringBoot Batch 실행 시 JobParameter로 받을 수 있는 타입은 한정되어 있다. String, Boolean, Integer, Date. 하지만 지금은 2019년.. Date는 상당히 골치아프다. 나는 LocalDate를 사용하고 싶었다. 그래서 아래와 같이 JobParameter를 받아줄 수 있는 Class를 만들었다. public class MyJobParameter { @Value("#{jobParameters[requestDate]}") private LocalDate requestDate; public void setRequestDate(String reques..
개발/Java,Spring
2019. 5. 17. 12:40
공지사항
- Total
- 24,656
- Today
- 41
- Yesterday
- 96
링크
TAG
- 우아한형제들
- xbstream
- installed date
- spring batch
- 슈퍼호쿠토
- PreAuthorize
- unzip
- 오누마당고
- disable
- 미나미 치토세
- 에키벤
- 스프링배치
- forbidden
- Spring Security
- upstream
- Method Security
- isAuthorized
- hasPermission
- 유효하지 않은 변수
- 홋카이도
- 강대명
- Illegal byte sequence
- splitChunks
- 설치일자
- spring
- innobackupex
- 우아한테크세미나
- 개발자
- nginx
- job parameter