All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.dialect.SQLServer2016Dialect Maven / Gradle / Ivy

There is a newer version: 6.6.2.Final
Show newest version
/*
 * 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