title: I am getting error Table 'test.batch_job_instance' doesn't exist
body: <p>I am new to Spring Batch. I have configured my job with inmemoryrepository. But still, it seems it is using DB to persist job Metadata.
  My spring batch Configuration is :</p>
  <pre><code>@Configuration
  public class BatchConfiguration {
      
      
      @Autowired
      private StepBuilderFactory stepBuilderFactory;
      
      @Autowired
      private JobBuilderFactory jobBuilder;
      
      @Bean
      public JobLauncher jobLauncher() throws Exception {
          SimpleJobLauncher job =new SimpleJobLauncher();
          job.setJobRepository(getJobRepo());
          job.afterPropertiesSet();
          return job;
      }
      
      
      @Bean
      public PlatformTransactionManager getTransactionManager() {
          return new ResourcelessTransactionManager();
      }
  
      @Bean
      public JobRepository getJobRepo() throws Exception {
          return new MapJobRepositoryFactoryBean(getTransactionManager()).getObject();
      }
      
  
      
      
      @Bean
      public Step step1(JdbcBatchItemWriter&lt;Person&gt; writer) throws Exception {
          return stepBuilderFactory.get(&quot;step1&quot;)
              .&lt;Person, Person&gt; chunk(10)
              .reader(reader())
              .processor(processor())
              .writer(writer).repository(getJobRepo())
              .build();
      }
      
       @Bean
      public Job job( @Qualifier(&quot;step1&quot;) Step step1) throws Exception {
          return jobBuilder.get(&quot;myJob&quot;).start(step1).repository(getJobRepo()).build();
      }
  
  }
  </code></pre>
  <p>How to resolve above issue?</p>