title: h2 database integrated in spring does not save files after stopping executing ,
body: <p>i want to use h2 database using spring boot , but after every launching the code my database start from 0 , it doesnt not save files what i added before .Is it actually possible that if i stop my server running the database is saved or it is not ,because then i have second   question , what happened  if my server is stopped by accident all my records gonna be deleted ?</p>
  
  <p>my app properties file ;</p>
  
  <pre><code>spring.h2.console.enabled=true
  spring.datasource.url=jdbc:h2:mem:testdb
  spring.datasource.driverClassName=org.h2.Driver
  spring.datasource.username=sa
  spring.datasource.password=
  spring.jpa.show-sql=true
  spring.jpa.hibernate.ddl-auto=update
  spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
  </code></pre>