These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Issue with Nhibernate Version Property
PostPosted: Wed Sep 05, 2007 6:21 am 
Newbie

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.