Unhelpful error when forgetting "flyway.driver" with xerial sqlite-jdbc #746
What is particularly tricky is that for some reason, when I forget this property, flyway is usable but crashes only when opening a connection for the second time.
Here is a minimal code which illustrates how the
Flyway flyway = new Flyway(); Properties props = new Properties(); //uncomment this to fix the code //props.setProperty("flyway.driver", "org.sqlite.JDBC"); props.setProperty("flyway.url", "jdbc:sqlite:mydb.db"); props.setProperty("flyway.user", "sa"); flyway.configure(props); //first invocation works fine flyway.info(); //here comes the crash flyway.migrate();
The text was updated successfully, but these errors were encountered: