title: Different hibernate properties per profile
body: <p>I've got spring boot project with Hibernate and Spring Data. There is more than one profile, so project can be run in test profile, run profile etc. Every profile needs different Hibernate properties. <strong>Let's say I would rather like to define keep properties in .property files than Java classes.</strong> application.properties comes with feature to specify profile as application-{profile}.properties. Unfortunately, that's not a case with hibernate.properties. Or is it? Is there a way to inject different hibernate properties per profile using .properties files?</p>