Example usage for org.hibernate.spatial JTSGeometryType JTSGeometryType

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

Introduction

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

Prototype

public JTSGeometryType(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));
}