HHH-4925 Minor fixes
This commit is contained in:
parent
fa48448f77
commit
8a96c4e7c7
|
@ -150,7 +150,7 @@ The `GEOGRAPHY` type is not currently supported.
|
||||||
|
|
||||||
|
|
||||||
CockroachDB::
|
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::
|
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`.
|
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`.
|
||||||
|
|
|
@ -63,7 +63,7 @@ public class GeolatteGeometryJavaTypeDescriptor extends AbstractJavaTypeDescript
|
||||||
|
|
||||||
public GeolatteGeometryJavaTypeDescriptor(Class<? extends Geometry> type, Wkt.Dialect wktDialect) {
|
public GeolatteGeometryJavaTypeDescriptor(Class<? extends Geometry> type, Wkt.Dialect wktDialect) {
|
||||||
super( type );
|
super( type );
|
||||||
this.wktDialect = Wkt.Dialect.SFA_1_1_0;
|
this.wktDialect = wktDialect;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -17,10 +17,10 @@ import org.hibernate.spatial.contributor.ContributorImplementor;
|
||||||
|
|
||||||
public class H2GisDialectContributor implements ContributorImplementor {
|
public class H2GisDialectContributor implements ContributorImplementor {
|
||||||
|
|
||||||
private final ServiceRegistry serviceRegistryegistry;
|
private final ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
public H2GisDialectContributor(ServiceRegistry serviceRegistry) {
|
public H2GisDialectContributor(ServiceRegistry serviceRegistry) {
|
||||||
this.serviceRegistryegistry = serviceRegistry;
|
this.serviceRegistry = serviceRegistry;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void contributeJdbcTypes(TypeContributions typeContributions) {
|
public void contributeJdbcTypes(TypeContributions typeContributions) {
|
||||||
|
@ -42,6 +42,6 @@ public class H2GisDialectContributor implements ContributorImplementor {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ServiceRegistry getServiceRegistry() {
|
public ServiceRegistry getServiceRegistry() {
|
||||||
return this.serviceRegistryegistry;
|
return this.serviceRegistry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue