-->
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: Association between two entities in two different databases
PostPosted: Tue Aug 21, 2007 1:10 am 
Newbie

Joined: Tue Aug 21, 2007 12:36 am
Posts: 6
Hi,

I have two entities : List and ListGroup. The relationship is many-to-one. The List table contains list id and list name. ListGroup table contains listgroup id and listgroup name. There is one more table called ListToListGroup which contains listid and listgroup id. However, List table exists in one database and Listgroup and ListToListGroup tables exist in another database.

I would like to know how can I write mapping files for these entities? When I retrieve the List entity I would like to get the details of list group to which it belongs.

I am using Hibernate version:3.2

Name and version of the database:Oracle 10 g

Thanks
Kamesh


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.