title: How can I make my h2 database persistent in micronaut like I do in grails?
body: <p>I'm somewhat familiar with grails and gorm and I try to make my first steps in micronaut.
  I'm successful in storing my Person Entity with Person.save() and retrieve with Person.findAll() in an in Memory H2-Database. But I'm not successful in storing my Person persistently on my disk. My micronaut-cli.yml looks like that:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>profile: service
  defaultPackage: my.app
  ---
  testFramework: spock
  sourceLanguage: groovy
  dataSource:
      pooled: true
      #url: jdbc:h2:mem:devDb
      url: jdbc:h2:file:/home/peter/devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
      dbCreate: create
      driverClassName: org.h2.Driver
      username: sa
      password:
  hibernate:
      cache:
          queries: false
          use_second_level_cache: false
          use_query_cache: false
          region.factory_class: org.hibernate.cache.ehcache.EhCacheRegionFactory</code></pre>
  </div>
  </div>
  </p>
  
  <p>As you see I commented out the in memory url and replaced it by a file url. With that url I expected a devDb.h2.db dataset in my home directory as I know it from my grails environment.</p>
  
  <p>What's the difference between hibernate/gorm in grails and hibernate/gorm outside grails ?</p>