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!!!
|
|