H2 is capable of handling UUIDs natively, but usingDataType.UUID_NATIVE results in:
java.lang.UnsupportedOperationException: UUID is not supported by this database type
at com.j256.ormlite.db.BaseDatabaseType.appendUuidNativeType(BaseDatabaseType.java:201)
at com.j256.ormlite.db.BaseDatabaseType.appendColumnArg(BaseDatabaseType.java:137)
at com.j256.ormlite.table.TableUtils.addCreateTableStatements(TableUtils.java:488)
at com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:368)
at com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:356)
at com.j256.ormlite.table.TableUtils.createTableIfNotExists(TableUtils.java:74)
H2 is capable of handling UUIDs natively, but using
DataType.UUID_NATIVE
results in:PR #295 should fix the issue