List of usage examples for org.hibernate.spatial JTSGeometryType JTSGeometryType
public JTSGeometryType(SqlTypeDescriptor sqlTypeDescriptor)
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)); }