-->
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: One mapping two sets of tables...
PostPosted: Mon Oct 23, 2006 11:22 am 
Newbie

Joined: Tue Feb 28, 2006 5:54 pm
Posts: 2
Location: Boston
Hi,

We have two sets of similar tables in the database distinguished by a prefix for the table name. One set represents final data and the other set represents temporary data. Other than the conceptual difference (final and temp) both the sets are very similar distinguished by a prefix for temp table names. In such scenario, what would be the best strategy to leverage same mappings and classes but persist to dynamically chosen set of tables (temp or final)?

Any suggestions would be appreciated.

Thanks,
Giri


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 23, 2006 6:33 pm 
Senior
Senior

Joined: Sun Jun 04, 2006 1:58 am
Posts: 136
http://www.hibernate.org/hib_docs/v3/ap ... ategy.html

_________________
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.