org.hibernate.dialect.MySQL8Dialect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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.dialect;
/**
* @author Vlad Mihalcea
*
* @deprecated use {@code MySQLDialect(800)}
*/
@Deprecated
public class MySQL8Dialect extends MySQLDialect {
public MySQL8Dialect() {
super( DatabaseVersion.make( 8 ) );
// MySQL doesn't add the new reserved keywords to their JDBC driver to preserve backward compatibility.
registerKeyword("CUME_DIST");
registerKeyword("DENSE_RANK");
registerKeyword("EMPTY");
registerKeyword("EXCEPT");
registerKeyword("FIRST_VALUE");
registerKeyword("GROUPS");
registerKeyword("JSON_TABLE");
registerKeyword("LAG");
registerKeyword("LAST_VALUE");
registerKeyword("LEAD");
registerKeyword("NTH_VALUE");
registerKeyword("NTILE");
registerKeyword("PERSIST");
registerKeyword("PERCENT_RANK");
registerKeyword("PERSIST_ONLY");
registerKeyword("RANK");
registerKeyword("ROW_NUMBER");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy