Immutable entities can be updated via bulk update queries

Description

Assuming we have an @Immutable entity:

All entity changes are prevented, but bulk update is still possible:

We should probably prevent these bulk update queries as well either by throwing an exception or logging a WARNING message and returning an empty result set.

Environment

None

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure