I am working on a Spring Boot project with multiple profiles. I currently have profiles such as: application.properties application-memory.properties application-mongo.properties The idea is that each profile should load different configurations depending on the storage implementation being used. However, I noticed that even when I activate another profile like “memory”, Spring Boot still tries to initialize JPA and Hibernate automatically.