Tabnine Logo
JobStepBuilder.transactionManager
Code IndexAdd Tabnine to your IDE (free)

How to use
transactionManager
method
in
org.springframework.batch.core.step.builder.JobStepBuilder

Best Java code snippets using org.springframework.batch.core.step.builder.JobStepBuilder.transactionManager (Showing top 1 results out of 315)

origin: mminella/LearningSpringBatch

  @Bean
  public Job parentJob(JobRepository jobRepository, PlatformTransactionManager transactionManager) {
    Step childJobStep = new JobStepBuilder(new StepBuilder("childJobStep"))
        .job(childJob)
        .launcher(jobLauncher)
        .repository(jobRepository)
        .transactionManager(transactionManager)
        .build();

    return jobBuilderFactory.get("parentJob")
        .start(step1())
        .next(childJobStep)
        .build();
  }
}
org.springframework.batch.core.step.builderJobStepBuildertransactionManager

Popular methods of JobStepBuilder

  • build
    Build a step from the job provided.
  • <init>
    Create a new builder initialized with any properties in the parent. The parent is copied, so it can
  • job
    Provide a job to execute during the step.
  • launcher
    Add a job launcher. Defaults to a simple job launcher.
  • getJobRepository
  • getName
  • parametersExtractor
    Provide a job parameters extractor. Useful for extracting job parameters from the parent step execut
  • listener
  • repository

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now