We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e60de1 commit e4f8674Copy full SHA for e4f8674
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.java
@@ -89,12 +89,12 @@ private static boolean isMutable(List<SingularAttributeMapping> attributes) {
89
for ( int i = 0; i < attributes.size(); i++ ) {
90
final SingularAttributeMapping attributeMapping = attributes.get( i );
91
final AttributeMetadata metadata = attributeMapping.getAttributeMetadata();
92
- if ( ! metadata.isUpdatable() ) {
93
- return false;
+ if ( metadata.isUpdatable() ) {
+ return true;
94
}
95
96
97
- return true;
+ return false;
98
99
100
@Override
0 commit comments