Skip to main content

Posts

Showing posts with the label h2

JHipster and Liquibase

As I continue to play with JHipster, I've run into an issue of getting liquibase to work with my development database.  Out of the box, I decided to use in-memory H2 as a dev database and MySQL in production.  This seemed reasonable when I started, but I quickly discovered that if I try to add a change set to load data into my database using liquibase, it doesn't work with in-memory H2.  It looks like liquibase is only going to work with more persistent databases.