Example usage for org.hibernate.spatial GeolatteGeometryType GeolatteGeometryType

List of usage examples for org.hibernate.spatial GeolatteGeometryType GeolatteGeometryType

Introduction

In this page you can find the example usage for org.hibernate.spatial GeolatteGeometryType GeolatteGeometryType.

Prototype

public GeolatteGeometryType(SqlTypeDescriptor sqlTypeDescriptor) 

Source Link

Document

Constructs an instance with the specified SqlTypeDescriptor

Usage

From source file:org.niord.core.db.MySQLSpatialDialect.java

License:Apache License

@Override
public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) {
    super.contributeTypes(typeContributions, serviceRegistry);
    typeContributions.contributeType(new GeolatteGeometryType(MySQLGeometryTypeDescriptor.INSTANCE));
    typeContributions.contributeType(new JTSGeometryType(MySQLGeometryTypeDescriptor.INSTANCE));
}