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

org.hibernate.dialect.HANADialect 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;

import org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo;

/**
 * An SQL dialect for the SAP HANA Platform and Cloud.
 * 

* For more information on SAP HANA Cloud, refer to the * SAP HANA Cloud SQL Reference Guide. * For more information on SAP HANA Platform, refer to the * SAP HANA Platform SQL Reference Guide. *

* Column tables are created by this dialect by default when using the auto-ddl feature. * * @author Andrew Clemons * @author Jonathan Bregler */ @SuppressWarnings("removal") public class HANADialect extends AbstractHANADialect { static final DatabaseVersion MINIMUM_VERSION = DatabaseVersion.make( 1, 0, 120 ); public HANADialect(DialectResolutionInfo info) { this( HANAServerConfiguration.fromDialectResolutionInfo( info ), true ); registerKeywords( info ); } public HANADialect() { // SAP HANA 1.0 SPS12 R0 is the default this( MINIMUM_VERSION ); } public HANADialect(DatabaseVersion version) { this( new HANAServerConfiguration( version ), true ); } public HANADialect(DatabaseVersion version, boolean defaultTableTypeColumn) { this( new HANAServerConfiguration( version ), defaultTableTypeColumn ); } public HANADialect(HANAServerConfiguration configuration, boolean defaultTableTypeColumn) { super( configuration, defaultTableTypeColumn ); } @Override protected DatabaseVersion getMinimumSupportedVersion() { return MINIMUM_VERSION; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy