Personally I would be using an int as the rowversion rather than a timestamp. It is less complicated
-----Original Message----- From: Aleksey Filippov Sent: 18/09/2012 3:40 PM To: [email protected] Subject: [nhusers] Using bynary array as a version column There's my question on *StackOverflow*: http://stackoverflow.com/questions/12402903/cant-save-entity-because-of-null-version-column-nhibernate . Now I *can save edits* on entity without a problem but *version column stays null* (checked it in *SQL Server*) all the time even provided that I defined my mappings for that entity: <version name="Version" generated="always" unsaved-value="null" type="BinaryBlob"> <column name="Version" not-null="false" sql-type="timestamp"/> </version> What do I do wrong? What have I missed? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/UmCjVXAKeCgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
