How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Why is Spring Boot still loading JPA and Hibernate configuration when using another active profile?

calendar_today May 29, 2026 person JEINER ANDY JOSUE PINEDA CORLE domain spring-boot

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.

open_in_new Read original post