org.hibernate.dialect.SQLServer2016Dialect 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;
/**
* Microsoft SQL Server 2016 Dialect
* @deprecated use {@code SQLServerDialect(13)}
*/
@Deprecated
public class SQLServer2016Dialect extends SQLServerDialect {
public SQLServer2016Dialect() {
super( DatabaseVersion.make( 13 ) );
}
@Override
public boolean supportsIfExistsBeforeTableName() {
return true;
}
@Override
public boolean supportsIfExistsBeforeConstraintName() {
return true;
}
@Override
public String[] getDropSchemaCommand(String schemaName) {
return new String[] {"drop schema if exists " + schemaName};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy