HHH-3584 - Modified getPropertiesToUpdate to check if version property has been marked as updateable==false before adding.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@15699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
5b2dba9c0b
commit
fb020ee573
|
@ -3083,7 +3083,7 @@ public abstract class AbstractEntityPersister
|
|||
propsToUpdate[property] = true;
|
||||
}
|
||||
}
|
||||
if ( isVersioned() ) {
|
||||
if ( isVersioned() && updateability[getVersionProperty() ]) {
|
||||
propsToUpdate[ getVersionProperty() ] =
|
||||
Versioning.isVersionIncrementRequired( dirtyProperties, hasDirtyCollection, getPropertyVersionability() );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue