public class ExecuteSQLTasklet extends Object implements org.springframework.batch.core.step.tasklet.Tasklet, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
ExecuteSQLTasklet() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.batch.repeat.RepeatStatus |
execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext) |
void |
setDataSource(DataSource pDataSource) |
void |
setSqls(String... sqls) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
throws Exception
execute in interface org.springframework.batch.core.step.tasklet.TaskletExceptionpublic void setDataSource(DataSource pDataSource)
public void setSqls(String... sqls)
Copyright © 2016. All rights reserved.