RESOLVED - BATCH-1101: Remove StepScope bean definition from samples that don't need it
This commit is contained in:
@@ -85,8 +85,6 @@
|
||||
</beans:property>
|
||||
</beans:bean>
|
||||
|
||||
<beans:bean class="org.springframework.batch.core.scope.StepScope" />
|
||||
|
||||
<beans:bean id="tradeSqlItemReader" class="org.springframework.batch.item.database.JdbcCursorItemReader">
|
||||
<beans:property name="dataSource" ref="dataSource" />
|
||||
<beans:property name="sql" value="SELECT isin, quantity, price, customer from TRADE" />
|
||||
|
||||
@@ -47,6 +47,4 @@
|
||||
<bean id="eventAdvice"
|
||||
class="org.springframework.batch.sample.jmx.StepExecutionApplicationEventAdvice" />
|
||||
|
||||
<bean class="org.springframework.batch.core.scope.StepScope" />
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user