사용자 도구

사이트 도구


springframework:batch

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
springframework:batch [2022/11/28 17:59]
kwon37xi [RunIdIncrementer 사용시 기존 파라미터가 현재 파라미터 지정한 것을 덮어씀]
springframework:batch [2023/12/08 13:43] (현재)
kwon37xi [Java Config Spring Bean 설정시 리턴 타입을 인터페이스가 아닌 구현 클래스로 지정할 것.]
줄 37: 줄 37:
     * ''text'' -> ''longtext''     * ''text'' -> ''longtext''
     * ''datetime'' -> ''datetime(6)''로 변경해서 실행할 것.     * ''datetime'' -> ''datetime(6)''로 변경해서 실행할 것.
 +    * 테이블 생성시 명백하게 대문자로 테이블명을 생성해줘야한다.
 +    * 만약 [[database:mysql|MySQL]]을 사용하면서 소문자로 테이블을 생성해버렸다면 다음과 같은 설정을 추가해줘야한다.
 +      * see [[database:mysql:config|MySQL 설정]] 대소문자 테이블명 부분의 ''lower_case_table_names=1''
  
 ===== Migration ===== ===== Migration =====
줄 137: 줄 140:
  
 > o.s.b.c.l.AbstractListenerFactoryBean    : org.springframework.batch.item.ItemReader is an interface.  The implementing class will not be queried for annotation based listener configurations.  If using @StepScope on a @Bean method, be sure to return the implementing class so listner annotations can be used. > o.s.b.c.l.AbstractListenerFactoryBean    : org.springframework.batch.item.ItemReader is an interface.  The implementing class will not be queried for annotation based listener configurations.  If using @StepScope on a @Bean method, be sure to return the implementing class so listner annotations can be used.
-> org.springframework.batch.item.ItemReader는 인터페이스입니다. 구현 클래스는 어노테이션 기반 listner 구성에 대해 실행되지 않습니다. @Bean 메소드에서 @StepScope를 사용하는 경우 listner 어노테이션을 사용할 수 있도록 구현 클래스를 리턴해야합니다.+> org.springframework.batch.item.ItemReader는 인터페이스입니다. 구현 클래스는 어노테이션 기반 listener 구성에 대해 실행되지 않습니다. @Bean 메소드에서 @StepScope를 사용하는 경우 listner 어노테이션을 사용할 수 있도록 구현 클래스를 리턴해야합니다.
  
  
springframework/batch.1669625949.txt.gz · 마지막으로 수정됨: 2022/11/28 17:59 저자 kwon37xi