SAP HANA

Last modified: April 20, 2023

1 Introduction

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

2 Behavior of Unlimited and Very Long Strings

2.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().

See also Case-Sensitive Database Behavior.

2.2 Sorting, Grouping, and 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.

2.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.

3 Known Issues

3.1 Unicode Support

Currently, only Basic Multilingual Plane Unicode characters are supported.