Cache keys no longer include the entity type

Description

Cache keys no longer include the entity type (cf. Hibernate 4) so you can no longer use the same cache region for multiple entity types.

This isn't mentioned in the migration documentation, however this seems like a major change (and related to my issue reusing collection regions in HHH-10286). Perhaps this could be mentioned in the migration documentation?

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Karl von Randow

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.3

Priority

Major