title: Spring H2 embedded-database file?
body: <p>I currently run my petproject on maven using an embedded jetty and H2 database:</p>
  
  <pre><code>&lt;jdbc:embedded-database id="dataSource" type="H2"&gt;
     &lt;jdbc:script location="/WEB-INF/database.sql"/&gt;
  &lt;/jdbc:embedded-database&gt;
  </code></pre>
  
  <p>This setup resets my DB every time I run the server. I want to save the DB as a file in disk so that I do not lose my data upon every server start. How do I accomplish this?</p>