From 1fc4ce23ac97eb02eb992238e19cffe87e79b599 Mon Sep 17 00:00:00 2001 From: Jonathan Bregler Date: Thu, 5 Oct 2017 14:04:31 +0200 Subject: [PATCH] HHH-12020 - Add SAP HANA to the list of provided dialects - Update documentation - Update org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder --- .../asciidoc/userguide/chapters/jdbc/Database_Access.adoc | 2 ++ .../registry/selector/internal/StrategySelectorBuilder.java | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/documentation/src/main/asciidoc/userguide/chapters/jdbc/Database_Access.adoc b/documentation/src/main/asciidoc/userguide/chapters/jdbc/Database_Access.adoc index 917c824d76..bf59227ca6 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/jdbc/Database_Access.adoc +++ b/documentation/src/main/asciidoc/userguide/chapters/jdbc/Database_Access.adoc @@ -173,6 +173,8 @@ If for some reason it is not able to determine the proper one or you want to use |Firebird |Support for the Firebird database |FrontBase |Support for the Frontbase database |H2 |Support for the H2 database +|HANAColumnStore |Support for the SAP HANA database column store. This is the recommended dialect for the SAP HANA database. +|HANARowStore |Support for the SAP HANA database row store |HSQL |Support for the HSQL (HyperSQL) database |Informix |Support for the Informix database |Ingres |Support for the Ingres database, version 9.2 diff --git a/hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java b/hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java index de17c2d558..08be6e086d 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java @@ -35,6 +35,8 @@ import org.hibernate.dialect.Dialect; import org.hibernate.dialect.FirebirdDialect; import org.hibernate.dialect.FrontBaseDialect; import org.hibernate.dialect.H2Dialect; +import org.hibernate.dialect.HANAColumnStoreDialect; +import org.hibernate.dialect.HANARowStoreDialect; import org.hibernate.dialect.HSQLDialect; import org.hibernate.dialect.InformixDialect; import org.hibernate.dialect.Ingres10Dialect; @@ -202,6 +204,8 @@ public class StrategySelectorBuilder { addDialect( strategySelector, FirebirdDialect.class ); addDialect( strategySelector, FrontBaseDialect.class ); addDialect( strategySelector, H2Dialect.class ); + addDialect( strategySelector, HANAColumnStoreDialect.class ); + addDialect( strategySelector, HANARowStoreDialect.class ); addDialect( strategySelector, HSQLDialect.class ); addDialect( strategySelector, InformixDialect.class ); addDialect( strategySelector, IngresDialect.class );