This is not a supported scenario. If your database is H2, then use the H2Dialect. H2 also has support for a UUID type.