title: Spring-boot application, H2 embedded database - but tables disappear when the application closes
body: <p>My <strong>database.properties</strong> file is:</p>
  
  <pre><code>datasource.driver=org.h2.Driver
  datasource.url=jdbc:h2:file:./test_database/comixed_db;create=true
  datasource.username=sa
  datasource.password=
  
  hibernate.dialect=org.hibernate.dialect.H2Dialect
  hibernate.hbm2ddl.auto=update
  hibernate.show_sql=false
  hibernate.format_sql=true
  hibernate.batch.size=20
  hibernate.current.session.context.class=org.springframework.orm.hibernate5.SpringSessionContext
  hibernate.generate_statistics=false
  hibernate.enable_lazy_load_no_trans=false
  </code></pre>
  
  <p>When my application starts up I see I am able to see the tables by using the h2.bat tool and peeking at the database from a web browser. However, when I shut down the application and then go back to the database with the h2.bat tool the tables are all gone!</p>
  
  <p>AM I doing something incorrectly with my hibernate configuration? I am not using <strong>create-drop</strong> but <strong>update</strong> since this code is currently in flux and I'd like the tables to be adjusted as changes occur. But that doesn't seem to be the issue since it's at app <strong>shutdown</strong> that the tables keep going away.</p>
  
  <p>Any help would be appreciated.</p>