There is no PostGIS dialect for PostgreSQL 10. The Postgres10Dialect adds support for the Identity column type which is the recommended method for making an auto-incrementing integer primary key.