HHH-11473 - Refactor MySQL Dialects
- Add a mention of MySQL5SpatialDialect as well in the User Guide
This commit is contained in:
parent
c0e59563dc
commit
2980dc4e84
|
@ -137,8 +137,10 @@ There are several dialects for MySQL:
|
||||||
|
|
||||||
`MySQLSpatialDialect`:::
|
`MySQLSpatialDialect`:::
|
||||||
a spatially-extended version of Hibernate `MySQLDialect`
|
a spatially-extended version of Hibernate `MySQLDialect`
|
||||||
|
`MySQL5SpatialDialect`:::
|
||||||
|
a spatially-extended version of Hibernate `MySQL5Dialect`
|
||||||
`MySQLSpatial56Dialect`:::
|
`MySQLSpatial56Dialect`:::
|
||||||
a spatially-extended version of Hibernate `MySQL5DBDialect`.
|
a spatially-extended version of Hibernate `MySQL55Dialect`.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
|
|
|
@ -15,9 +15,7 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.hibernate.HibernateException;
|
import org.hibernate.HibernateException;
|
||||||
import org.hibernate.boot.model.TypeContributions;
|
import org.hibernate.boot.model.TypeContributions;
|
||||||
import org.hibernate.dialect.InnoDBStorageEngine;
|
|
||||||
import org.hibernate.dialect.MySQL55Dialect;
|
import org.hibernate.dialect.MySQL55Dialect;
|
||||||
import org.hibernate.dialect.MySQLStorageEngine;
|
|
||||||
import org.hibernate.dialect.function.SQLFunction;
|
import org.hibernate.dialect.function.SQLFunction;
|
||||||
import org.hibernate.dialect.function.StandardSQLFunction;
|
import org.hibernate.dialect.function.StandardSQLFunction;
|
||||||
import org.hibernate.service.ServiceRegistry;
|
import org.hibernate.service.ServiceRegistry;
|
||||||
|
@ -151,13 +149,4 @@ public class MySQL56SpatialDialect extends MySQL55Dialect implements SpatialDial
|
||||||
public boolean supports(SpatialFunction function) {
|
public boolean supports(SpatialFunction function) {
|
||||||
return dialectDelegate.supports( function );
|
return dialectDelegate.supports( function );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* MySQL 5.6 uses InnoDB by default.
|
|
||||||
* @return Default MySQL Storage Engine.
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
protected MySQLStorageEngine getDefaultMySQLStorageEngine() {
|
|
||||||
return InnoDBStorageEngine.INSTANCE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue