Spring boot batch & MongoDB

Spring boot batch is too opinionated out of the box to gel well with mongodb, it ads the sql focussed jpa and jdbc dependenties.

Excluding it will at least make your application run again, I haven't tested batching yet in this context.

<dependency>    <groupId>org.springframework.boot</groupId>    <artifactId>spring-boot-starter-batch</artifactId>    <exclusions>        <exclusion>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-jdbc</artifactId>        </exclusion>    </exclusions></dependency>

Comments

Popular posts from this blog

Thinking about tech: Technological Determinism

Deep fakes, fake news, it's old news!

Software development as a growing profession - Present