title: Configure h2 for spring boot
body: <p>I'm trying to configure spring boot to set my test datasource to use h2 in postgresql mode.
  I set these lines in my test/resources/application:</p>
  
  <pre><code>spring.datasource.url=jdbc:h2:mem:db1;MODE=PostgreSQL
  spring.datasource.driverClassName=org.h2.Driver
  spring.datasource.username=sa
  spring.datasource.password=
  </code></pre>
  
  <p>But spring boot keep loading me default h2 configuration.</p>
  
  <p>How can I force spring boot to use my special h2 configuration ?</p>