From: Christian B. (JIRA) <no...@at...> - 2006-05-16 14:15:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1755?page=all ] Christian Bauer resolved HHH-1755: ---------------------------------- Resolution: Rejected http://forum.hibernate.org/ > Associating tables from two different databases > ----------------------------------------------- > > Key: HHH-1755 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1755 > Project: Hibernate3 > Type: New Feature > Components: query-criteria > Versions: 3.2.0.cr2 > Environment: Oracle and SQL Server 2000 > Reporter: Mohammed Sadiq > > > Hi, > I am trying to build an environment where it is required to have more than one databases. > For example, let's take the case of a Masters and Transactions; I have country table at a databse named 'Masters' located in an Oracle server and another named 'Transactions' located in a SQL Server. > I have a table named 'Enquiry' located in the 'Transactions' database (SQL Server) and another table 'Country' located in the 'Masters' database (Oracle); now I need to associate a column 'Country_Id' of 'Enquiry' table to that of 'Country_Id' of 'Country' table and fetch the country name from that table. > How should I get it done. > I tried to build two Session from the two configuration files, but in vain. > Please help me to resolve this and please excuse me if I am posting an issue over an already available feature of Hibernate. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |