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 tables belonging to different catalogs
PostPosted: Thu Aug 14, 2008 5:39 pm 
Beginner
Beginner

Joined: Thu Aug 14, 2008 5:31 pm
Posts: 20
Hi,

I'm fairly new to NHibernate. Before I start considering using it in my production, I'd like to know one thing.

I understand it is easy to create relationship between entities mapped from table belonging to the same catalog (database). But here's my situation:

I have one table in one catalog, which foreign key refers to the primary key of another table that belong to another catalog. Yet the two tables must be part of my model as they are associated. Is this possible to do the mapping or will Nhibernate not allow that, knowing that both catalog have a different connection string (obviously...)

Thank you for helping


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.