spring convention with jpa

Jackie
May 12, 2021

my current project has jpa library in the classpath (for some class dependency only). As a result, spring boot will try to set up the jpa entitymanager etc, which are not really needed.

finally figured out the way to disable the convention is by configuring

spring.data.jpa.repositories.enabled=false

Published

Originally published at https://lwpro2.dev on May 12, 2021.

--

--