Hibernate version: 1.2.beta1
Database: SQL Express SP1
The problem is with using a timestamp as the versioning property.
When the object is persisted to the database, the value that MSSQL stores is not as accurate as the .NET DateTime value stored in the object.
When the object is persisted the next time, this line:
persister.VersionType.Equals(persister.GetVersion(result), persister.GetVersion(obj))
in SessionImpl.cs fails, because there is a 1ms difference between the DB stored version and the current version.
Cheers,
Stu
_________________ --
Stuart Carnie
|