I'm using a spring boot with hibernate. I want to exclude one class from component scanning.
I can do it by using @SpringBootApplication(exclude = HibernateJpaAutoConfiguration.class).
I don't want to hardcode it in my application. But I want to give those properties in application.properties.
Does spring boot provide any options for that?