Skip to content

Commit ab44396

Browse files
garydgregorysebersole
authored andcommitted
HHH-18466 egression from 5.6.15.Final where a mutable natural IDs query
cannot find an entity
1 parent e4f8674 commit ab44396

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdMapping.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ public interface NaturalIdMapping extends VirtualModelPart {
5050
List<SingularAttributeMapping> getNaturalIdAttributes();
5151

5252
/**
53-
* Whether the natural-id is immutable. This is the same as saying that none of
54-
* the attributes are mutable
53+
* Whether the natural-id is mutable.
54+
*
55+
* @apiNote For compound natural-ids, this is true if any of the attributes are mutable.
5556
*/
5657
boolean isMutable();
5758

0 commit comments

Comments
 (0)