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

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

Thinking about tech: Technological Determinism

JFall 2020 - Sustainably growing the guild of software developers