HHH-12741 Add a comment to explain why we add the new keywords here

This commit is contained in:
Guillaume Smet 2018-06-27 13:28:47 +02:00
parent 0a4a609a42
commit 09aa12496f
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ import org.hibernate.LockOptions;
public class MySQL8Dialect extends MySQL57Dialect {
public MySQL8Dialect() {
// MySQL doesn't add the new reserved keywords to their JDBC driver to preserve backward compatibility.
registerKeyword("CUME_DIST");
registerKeyword("DENSE_RANK");
registerKeyword("EMPTY");