spring convention with jpa

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s