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: Same Domain for same table present in two schema's
PostPosted: Thu Oct 04, 2007 10:42 am 
Newbie

Joined: Fri Sep 28, 2007 7:40 pm
Posts: 9
I have two schema's in my database. Lets say S1 & S2
S1 is the current production schema. S2 is reporting schema and all old data from S1 is archieved to S2.

In the database I have now S1.DOMAIN_OBJECT with current production data and S2.DOMAIN_OBJECT with old data archieved from prod table

Requirement:
In my portal I have to display both S1.DOMAIN_OBJECT & S2.DOMAIN_OBJECT

Problem:
I have already created domainClass for S1.DOMAIN_OBJECT with hardcoded value of schema name in hbm.xml. Will I be able to re-utilize the same domain class for the reporting class as well. If so, can you please let me know the procedure that I need to follow.

Thanks in advance for your help!!!


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.