diff --git a/src/org/hibernate/persister/entity/AbstractEntityPersister.java b/src/org/hibernate/persister/entity/AbstractEntityPersister.java index ea55d73d17..7f63d58ac1 100644 --- a/src/org/hibernate/persister/entity/AbstractEntityPersister.java +++ b/src/org/hibernate/persister/entity/AbstractEntityPersister.java @@ -3083,7 +3083,7 @@ public abstract class AbstractEntityPersister propsToUpdate[property] = true; } } - if ( isVersioned() ) { + if ( isVersioned() && updateability[getVersionProperty() ]) { propsToUpdate[ getVersionProperty() ] = Versioning.isVersionIncrementRequired( dirtyProperties, hasDirtyCollection, getPropertyVersionability() ); }