HHH-4925 Minor fixes

This commit is contained in:
Karel Maesen 2021-11-12 13:32:38 +01:00
parent fa48448f77
commit 8a96c4e7c7
3 changed files with 5 additions and 5 deletions

View File

@ -150,7 +150,7 @@ The `GEOGRAPHY` type is not currently supported.
CockroachDB::
The dialect `CockroachDB` support the `GEOMETRY` type in CockroachDB v20.2 and later. The `GEOGRAPHY` type is currently not supported.
The dialect `CockroachDialect` supports the `GEOMETRY` type in CockroachDB v20.2 and later. The `GEOGRAPHY` type is currently not supported.
H2GIS::
The `H2Dialect` supports H2GIS, a spatial extension of the H2 in-memory database. This dialect can be used as a replacement for the `GeoDB` dialect that was supported in previous versions. The major difference with `GeoDB` is that the `GEOGRAPHY` column type is currently not present in `H2GIS`.

View File

@ -63,7 +63,7 @@ public class GeolatteGeometryJavaTypeDescriptor extends AbstractJavaTypeDescript
public GeolatteGeometryJavaTypeDescriptor(Class<? extends Geometry> type, Wkt.Dialect wktDialect) {
super( type );
this.wktDialect = Wkt.Dialect.SFA_1_1_0;
this.wktDialect = wktDialect;
}
@Override

View File

@ -17,10 +17,10 @@ import org.hibernate.spatial.contributor.ContributorImplementor;
public class H2GisDialectContributor implements ContributorImplementor {
private final ServiceRegistry serviceRegistryegistry;
private final ServiceRegistry serviceRegistry;
public H2GisDialectContributor(ServiceRegistry serviceRegistry) {
this.serviceRegistryegistry = serviceRegistry;
this.serviceRegistry = serviceRegistry;
}
public void contributeJdbcTypes(TypeContributions typeContributions) {
@ -42,6 +42,6 @@ public class H2GisDialectContributor implements ContributorImplementor {
@Override
public ServiceRegistry getServiceRegistry() {
return this.serviceRegistryegistry;
return this.serviceRegistry;
}
}