HHH-13162 - Upgrade MySQL and MariaDB Dialects as they support UNION ALL

This commit is contained in:
Vlad Mihalcea 2018-12-13 13:08:39 +02:00
parent 55f5c9c5bd
commit e3eeba9845
1 changed files with 5 additions and 0 deletions

View File

@ -60,4 +60,9 @@ public class MySQL5Dialect extends MySQLDialect {
public String getQueryHintString(String query, String hints) {
return IndexQueryHintHandler.INSTANCE.addQueryHints( query, hints );
}
@Override
public boolean supportsUnionAll() {
return true;
}
}