From 342a1a35dcf2acd59a752a5541a9b497fde54bf3 Mon Sep 17 00:00:00 2001
From: Mahmoud Ben Hassine
+ * By default, the `CommandLineJobRunner` uses a {@link DefaultJobParametersConverter} + * which implicitly converts key/value pairs to identifying job parameters. + * However, it is possible to explicitly specify which job parameters are identifying + * and which are not by prefixing them with `+` or `-` respectively. In the following + * example, `schedule.date` is an identifying job parameter while `vendor.id` is not: + *
+ * + *
+ *
+ * java org.springframework.batch.core.launch.support.CommandLineJobRunner testJob.xml
+ * testJob +schedule.date=2008/01/24 -vendor.id=3902483920
+ *
+ *
This behaviour can be overridden by using a custom `JobParametersConverter`.
+ * + *
* Once arguments have been successfully parsed, autowiring will be used to set
* various dependencies. The {@link JobLauncher} for example, will be
* loaded this way. If none is contained in the bean factory (it searches by
diff --git a/spring-batch-docs/asciidoc/job.adoc b/spring-batch-docs/asciidoc/job.adoc
index c3545eb7b..b4d2664ae 100644
--- a/spring-batch-docs/asciidoc/job.adoc
+++ b/spring-batch-docs/asciidoc/job.adoc
@@ -992,6 +992,29 @@ The following example shows a date passed as a job parameter to a job defined in