I am trying to use SQL Server timestamp with the following mapping:
<version name="Version"
column="Version"
generated="always"
unsaved-value="null"
type="BinaryBlob"/>
The problem is that it generate the following SQL on update:
UPDATE People
SET Version = 'System.Byte[]' /* @p0 */,
Name = 'other' /* @p1 */
WHERE Id = 1 /* @p2 */
AND Version = 'System.Byte[]' /* @p3 */
I am pretty sure that there is a mistake here somewhere, but I am not sure
if this is my bug or not.
