-->
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.  [ 2 posts ] 
Author Message
 Post subject: How to Use single Hbm for two tables
PostPosted: Wed Apr 16, 2008 2:58 am 
Newbie

Joined: Tue Jan 08, 2008 2:20 am
Posts: 4
Hi,

Table A is having NAME, ID, VALUE column
Table A_VERSION is having NAME, ID, VALUE, VERSION columns. A_VERSION is the history of the A table.
Only version column is difference between these two tables
Is it possible to have single hbm & single class file to support both the tables.
Since i havng 50 tables , so 50 will have this version hostory tables. So i need to create 100 cfc & 100 hbm. I am trying to restrict this to 50 cfc & 50 hbm.

Any Suggestions..?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 5:57 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Nothing to do with tooling...but go look in the docs for entity-name.

_________________
Max
Don't forget to rate


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

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.