title: Spring Boot / Spring Data import.sql doesn't run Spring-Boot-1.0.0.RC1
body: <p>I've been following the development of Spring Boot, and sometime between the initial version <code>0.0.5-BUILD-SNAPSHOT</code> and the current version I am using <code>1.0.0.RC1</code> I am no longer running my <code>import.sql</code> script.</p>
  
  <p>Here is my configuration for <code>LocalContainerEntityManager</code> and <code>JpaVendorAdapter</code></p>
  
  <pre><code>@Bean
      public LocalContainerEntityManagerFactoryBean entityManagerFactory(
              DataSource dataSource, JpaVendorAdapter jpaVendorAdapter) {
          LocalContainerEntityManagerFactoryBean lef = new LocalContainerEntityManagerFactoryBean();
          lef.setDataSource(dataSource);
          lef.setJpaVendorAdapter(jpaVendorAdapter);
          lef.setPackagesToScan("foo.*");
          return lef;
      }
  
      @Bean
      public JpaVendorAdapter jpaVendorAdapter() {
          HibernateJpaVendorAdapter hibernateJpaVendorAdapter = new HibernateJpaVendorAdapter();
          hibernateJpaVendorAdapter.setShowSql(true);
          hibernateJpaVendorAdapter.setGenerateDdl(true);
          hibernateJpaVendorAdapter.setDatabase(Database.POSTGRESQL);
          return hibernateJpaVendorAdapter;
      }
  </code></pre>
  
  <p>Interesting the <code>hibernate.hbm2ddl.auto</code> still seems to run, which I think is part of the definition of my <code>SpringBootServletInitializer</code> </p>
  
  <pre><code>@Configuration
  @ComponentScan
  @EnableAutoConfiguration
  public class Application extends SpringBootServletInitializer {
  </code></pre>
  
  <p>However, I also noticed that the tables generated no longer have <em>underscores</em> and changed their shape when generated? </p>
  
  <p>However, that could be the result of updating my <code>org.postgresql</code> version like so:</p>
  
  <p>Previously:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
      &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
      &lt;version&gt;9.2-1004-jdbc41&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Now:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
      &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
      &lt;version&gt;9.3-1100-jdbc41&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I also had to change <code>pggetserialsequence</code> to <code>pg_get_serial_sequence</code> to get the script to run at all from <code>pgadmin</code>?</p>
  
  <p>I guess I'm confusing what's going on, but most importantly I want to get back to having my <code>import.sql</code> run.</p>
  
  <p>I have been following the sample project: <a href="https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-data-jpa" rel="nofollow">https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-data-jpa</a></p>
  
  <p>And their <code>import.sql</code> isn't running either on <code>1.0.0-BUILD-SNAPSHOT</code></p>