HHH-12741 Add a comment to explain why we add the new keywords here
This commit is contained in:
parent
0a4a609a42
commit
09aa12496f
|
@ -14,6 +14,8 @@ import org.hibernate.LockOptions;
|
||||||
public class MySQL8Dialect extends MySQL57Dialect {
|
public class MySQL8Dialect extends MySQL57Dialect {
|
||||||
|
|
||||||
public MySQL8Dialect() {
|
public MySQL8Dialect() {
|
||||||
|
// MySQL doesn't add the new reserved keywords to their JDBC driver to preserve backward compatibility.
|
||||||
|
|
||||||
registerKeyword("CUME_DIST");
|
registerKeyword("CUME_DIST");
|
||||||
registerKeyword("DENSE_RANK");
|
registerKeyword("DENSE_RANK");
|
||||||
registerKeyword("EMPTY");
|
registerKeyword("EMPTY");
|
||||||
|
|
Loading…
Reference in New Issue