How to run Spring Batch Jobs in certain order (Spring Boot)?
<p>I'm developing with Spring Batch using Spring Boot.</p>

<p>I'm with the minimal configuration provided by Spring Boot and defined some Jobs (no XML configuration at all). But when I run the application,</p>

<pre><code>SpringApplication.run(App.class, args);
</code></pre>

<p>the jobs are sequentially executed in some arbitrary order.</p>

<p>I'm defining the jobs this way in <code>@Configuration</code> annotated classes, Spring do the rest:</p>

<pre><code>@Bean
public Job requestTickets() {
    return jobBuilderFactory.get(Config.JOB_REQUEST_TICKETS)
            .start(stepRequestTickets())
            .build();
}
</code></pre>

<p>How can I instruct the framework to run the jobs in a certain order?</p>

<p>EDIT: Could this warning give a hint? (Maybe has nothing to be)</p>

<pre><code>2016-12-29 17:45:33.320  WARN 3528 --- [main] o.s.b.c.c.a.DefaultBatchConfigurer: No datasource was provided...using a Map based JobRepository
</code></pre>