title: How to add hibernate mapping file to Spring boot configuration?
body: <p>I'm trying to move a huge query to the external file (xml). I'm using Spring boot with Spring Data JPA. It was easy with persistence.xml, but I have only application.properties here. </p>
  
  <p>Is there a easy way to do this? </p>
  
  <p>I created orm.xml, added query there, but it looks like Spring Boot is not recognizing it. </p>