Personally, if you're going for SQL Server timestamp, I've used this:

    <version name="Version" column="Version" type="binary" unsaved-
value="null" generated="always"/>

that maps to something like this

        private byte[] _version;

My SQL column is defined as thus:

        [Version] [timestamp] NOT NULL,

It works ok for me - notice I'm using "binary" and not "binaryBlob".
If I retrieve an existing row then my version field is populated with
the content of the SQL Server field.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to