-->
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: Multiple databases having same table names
PostPosted: Fri Apr 27, 2007 1:59 am 
Newbie

Joined: Tue Jan 31, 2006 8:00 am
Posts: 14
Hi All,

Currently we are facing an architecture for our j2ee application which needs to interact with two separates Oracle Databases (not oracle schemas).

One is a data warehousing (OLAP) type database & the other is a OLTP.
The architecture is something like this
- we have screens which insert & modify data. For this we interact with the OLTP database.
- We have to show Reports. This data will be fetched from the OLAP database. The OLAP database is read only & cannot be modified.

So ideally the structure of both the database table & entity names may overlap.
For both database entities we have to create Hibernate objects. I reckon we will have to create & use separate sessionFactories. So ideally for data modification related activites we will use one sessionFactory.
And for all Reports we will be using a different sessionFactory.

My question is about overlapping entity names in both the databases. Will this in any way impact the functioning of Hibernate.

Do post your thoughts on the same.


Regards,


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.