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 a259dd3 commit 561907aCopy full SHA for 561907a
hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
@@ -321,7 +321,7 @@ public EntityMetamodel(
321
}
322
else {
323
generators[i] = generator;
324
- if ( !generator.allowMutation() ) {
+ if ( generator.generatedOnExecution() && !generator.allowMutation() ) {
325
propertyInsertability[i] = false;
326
propertyUpdateability[i] = false;
327
propertyCheckability[i] = false;
0 commit comments