org.hibernate.spatial.dialect.mysql.MySQL56SpatialDialect Maven / Gradle / Ivy
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.spatial.dialect.mysql;
/**
 * @author Karel Maesen, Geovise BVBA
 * creation-date: 10/9/13
 */
import org.hibernate.dialect.DatabaseVersion;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.spatial.SpatialDialect;
/**
 * Extends the MySQL5Dialect by including support for the spatial operators.
 * 
 * This SpatialDialect uses the ST_* spatial operators that operate on exact geometries which have been
 * added in MySQL version 5.6.1. Previous versions of MySQL only supported operators that operated on Minimum Bounding
 * Rectangles (MBR's). This dialect my therefore produce different results than the other MySQL spatial dialects.
 *
 * @author Karel Maesen
 * @deprecated Spatial Dialects are no longer needed
 */
@Deprecated
public class MySQL56SpatialDialect extends MySQLDialect implements SpatialDialect {
	public MySQL56SpatialDialect() {
		super( DatabaseVersion.make( 5, 5 ) );
	}
}
     © 2015 - 2025 Weber Informatics LLC | Privacy Policy