Skip to content

Commit d6e2d88

Browse files
committed
Readme adjustments.
1 parent 23c5131 commit d6e2d88

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

spring-batch-neo4j/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ Neo4jItemWriter<User> writer = new Neo4jItemWriterBuilder<User>()
2828

2929
## Minimal Spring Boot example
3030

31-
With a Spring Boot application containing the additional dependencies `spring-boot-starter-neo4j` and `spring-batch-neo4j`,
32-
the following _build.gradle_ dependency definition is the minimal needed.
33-
Please note the exclusion for Spring JDBC from the `spring-boot-starter-batch` to avoid any need for JDBC-based connections.
31+
Additional to the already existing dependencies in a new Spring Boot application,
32+
`spring-boot-starter-data-neo4j`, `spring-batch-neo4j` and the `spring-boot-starter-batch` are needed
33+
but `spring-jdbc` and `spring-boot-starter-jdbc` must be explicitly excluded.
34+
The exclusions are mandatory to avoid any need for JDBC-based connections, like JDBC URI etc.
35+
36+
See the following _build.gradle_ dependency definition for a minimal example.
3437

3538
```groovy
3639
dependencies {
@@ -46,6 +49,8 @@ dependencies {
4649
}
4750
```
4851

52+
An example of the usage can be seen in the following example, implementing the `CommandLineRunner` interface.
53+
4954
```java
5055
@SpringBootApplication
5156
public class TestSpringBatchApplication implements CommandLineRunner {

0 commit comments

Comments
 (0)