SAP HANA

Last update: Download PDF Edit

1 Introduction

The behavior of Mendix using a SAP HANA database has some minor differences when compared with using a PostgreSQL database. These differences are documented below.

2 Ordering on Associated Attributes

Retrieving an entity that is sorted on an attribute of one of its associated entities is not supported in SAP HANA.

For example, you have two associated entities — Person and Address — and they have the name and street attributes, respectively. You cannot retrieve Person objects sorted on Person_Address/Address/street.

3 Case Sensitivity

SAP HANA is case sensitive when doing string comparisons and checks. This is important when using functions such as contains(), starts-with(), and ends-with(), or when using the equal (=) or not equal (!=) operators in XPath constraints.

For example, contains('OneTwo', 'one') will return false.

4 Behavior of Unlimited & Very Long Strings

4.1 Comparison Functions

SAP HANA does not support unlimited strings or strings with a specified length greater than 5000 characters when using the equal (=) or not equal (!=) operators in XPath constraints. However, it does support functions including contains(), starts-with(), and ends-with().

4.2 Sorting, Grouping & Aggregating

It is not possible to sort, group, or use aggregate functions such as count() on unlimited strings or strings with a specified length greater than 5000 characters. This is because such long or unlimited strings are implemented with the data type CLOB. Consider decreasing the length of the string attribute or removing it from data grids.

4.3 Selecting DISTINCT Attribute

Selecting DISTINCT attributes of the string type with a size greater than 5000 characters is not supported by Mendix due to a known SAP HANA limitation of selecting DISTINCT columns with a CLOB data type.

5 Known Issues

5.1 Unicode Support

Currently, only Basic Multilingual Plane Unicode characters are supported.