title: Spring Boot doesn't use datasource properties
body: <p>I've set up spring.datasource.* in application.properties:</p>
  
  <pre><code>spring.datasource.url=jdbc:h2:./data/test
  spring.datasource.username=sa
  spring.datasource.password=
  spring.datasource.driver-class-name=org.h2.Driver
  </code></pre>
  
  <p>Then I configured JdbcTemplate Bean</p>
  
  <pre><code>@Bean
  @Autowired
  public JdbcTemplate jdbcTemplate(DataSource dataSource) {
      return new JdbcTemplate(dataSource);
  }
  </code></pre>
  
  <p>But when I start application, I see in console </p>
  
  <pre><code>Starting embedded database: url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
  </code></pre>
  
  <p>Instead of my settings. Why?</p>