Support null NaturalId values in loadEntityIdByNaturalId query

Description

As it is allowed to persist and commit null naturalId values (for example null String values),
it would also be nice to can sucessful lookup for those values.
Currently the where-clause of the lookup-query does not consider the eventuality of null values, which in sql require an extra handling (using 'is' keyword instead of '=' sign).

The needed code change is simple, see pull request.

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Guenther Demetz

Fix versions

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure