Hororm wrote:
<property column="Timestamp" name="Timestamp" type="DateTime"/>
Should be... and column timestamp must be of type timestamp, not datetime.
Code:
<timestamp name="Timestamp" />
However...
SqlTeam.com wrote:
The SQL Server timestamp data type has nothing to do with times or dates. SQL Server timestamps are binary numbers that indicate the relative sequence in which data modifications took place in a database. The timestamp data type was originally implemented to support the SQL Server recovery algorithms.
If you want a modified date look into creating an intercepter to auto update the date on each save or update in nhibernate.