Grails sample application which uses GORM Hibernate with SQLite
Hibernate does not offer an official dialect for SQLite. We use a thirdparty dialect for SQLite.
https://github.com/gwenn/sqlite-dialect
We copy the SQLiteDialect and SQLiteDialectIdentityColumnSupport files to our project.
https://github.com/grails-samples/gorm-hibernate-sqlite/blob/master/build.gradle#L49
runtime "org.xerial:sqlite-jdbc:3.18.0"