Joined: Wed Sep 05, 2007 2:29 am Posts: 1
|
|
Hi,
I am facing a issue related to Nhibernate version property.
I am using Magicdraw to generate Entity Classes and Database Schema based on Entity models created using Magicdraw.
The issue i m facing is that i have to apply versioning property on a column.
We can do so directly by manually updating the .hbm.xml mapping files but that is not feasible solution for us as the mapping files are being generated automatically as per Entity model defined in magicdraw.
we have a option to define Version stereotype on Entity Attributes but when we add a attribute to Entity Model in Magicdraw with Version Stereotype and generate the mapping file(i.e. hbm.xml).
The new mapping file generated doesnot show us the version property.
Can anybody provide how we can handle such scenario with Nhibernate.
Moreover we want to use that Versioned column at application level only and dont want to map that column with database table.
any help in this regard would be highly appreciated.
|
|