title: How to reset H2 Database to the original state after Jhipster jdl-generation?
body: <p>I have this project that I ran in Jhipster with the generator yo jhipster:import-jdl. When it ends, everything is clean and ready to start. This is the state I would like to easily return to, in the H2 persistent disk copy, when I do tests, changes and so on, to start all over again.</p>
  
  <p>I guess that using H2 non-persistent memory would create everything every time I start the project, but is there any easy way to get that result in a disk persistent type? (Please confirm)</p>
  
  <p>Or, better, is there a way to tell Jhipter to change from a memory to a persistent database to a memory persistence, at will, before you yarn start the project?</p>
  
  <p>If there is no way to change this at will, I googled for a solution and it looks like I should DROP ALL OBJECTS <a href="https://stackoverflow.com/questions/8523423/reset-embedded-h2-database-periodically">Reset Embedded H2 database periodically</a>   and then I do not know what to do to get to a clean database.</p>