选用的reader:RepositoryItemReaderBuilder
调试过程
代码位置 | 关键操作(00000000000000000000) |
main | 入口方法 |
org.springframework.boot.run():1329 | |
org.springframework.boot.run():1340 | |
org.springframework.boot.run():346 | |
org.springframework.boot.callRunners():800 | |
org.springframework.boot.callRunner():810 | |
org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.run():150 | 进入springbatch包 |
org.springframework.cloud.task.batch.handler.TaskJobLauncherCommandLineRunner.run():115 | |
org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.launchJobFromProperties():160 | 加载启动参数 |
org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.executeLocalJobs():173 | |
org.springframework.cloud.task.batch.handler.TaskJobLauncherCommandLineRunner.execute():154 | |
org.springframework.batch.core.launch.support.SimpleJobLauncher.run():149 | 启动Job |
org.springframework.batch.core.job.AbstractJob.execute():320 | |
org.springframework.batch.core.job.flow.FlowJob.doExecute():137 | |
org.springframework.batch.core.job.flow.support.SimpleFlow.start():144 | Flow start |
org.springframework.batch.core.job.flow.support.SimpleFlow.resume():169 | |
org.springframework.batch.core.job.flow.support.state.StepState.handle():68 | |
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep():68 | |
org.springframework.batch.core.job.SimpleStepHandler.handleStep():152 | Step execute |
org.springframework.batch.core.step.AbstractStep.execute():208 | |
org.springframework.batch.core.step.tasklet.TaskletStep.doExecute():273 | |
org.springframework.transaction.support.TransactionTemplate.execute():140 | 开启事务 |
org.springframework.batch.core.step.tasklet.TaskletStep.doInTransaction():407 | |
org.springframework.batch.core.step.item.ChunkOrientedTasklet<I>.execute():71 | 面向块的任务 |
org.springframework.batch.core.step.item.SimpleChunkProvider<I>.provide():126 | 提供数据 |
org.springframework.batch.core.step.item.SimpleChunkProvider<I>.read():180 | |
org.springframework.batch.core.step.item.SimpleChunkProvider<I>.doRead():99 | |
org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<T>.read():93 | |
org.springframework.batch.item.data.RepositoryItemReader<T>.doRead():168 | |
org.springframework.batch.item.data.RepositoryItemReader<T>.doPageRead():223 | 分页读取 |
org.springframework.batch.item.data.RepositoryItemReader<T>.doInvoke():260 | |
org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke():135 | |
org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke():152 | |
org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke():121 | |
org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke():137 | |
org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute():143 | |
org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute():155 | JPA调用 |
org.springframework.data.jpa.repository.query.JpaQueryExecution.execute():88 | |
org.springframework.data.jpa.repository.query.JpaQueryExecution$PagedExecution.doExecute():177 | |
org.hibernate.query.Query<R>.getResultList():165 | |
org.hibernate.query.internal.AbstractProducedQuery<R>.list():1593 | |
org.hibernate.query.internal.NativeQueryImpl<T>.doList():176 | |
org.hibernate.internal.AbstractSharedSessionContract.list():1172 | |
org.hibernate.internal.SessionImpl.listCustomQuery():2141 | |
org.hibernate.loader.custom.CustomLoader.list():338 | |
org.hibernate.loader.Loader.list():2658 | |
org.hibernate.loader.Loader.listIgnoreQueryCache():2663 | |
org.hibernate.loader.Loader.doList():2831 | |
org.hibernate.loader.Loader.doList():2849 | |
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections():349 | |
org.hibernate.loader.Loader.doQuery():948 | |
org.hibernate.loader.Loader.executeQueryStatement():2018 | 生成SQL |
org.hibernate.loader.Loader.executeQueryStatement():959 | 整合分页参数 |