-->
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.  [ 2 posts ] 
Author Message
 Post subject: SessionInView and multiple databases
PostPosted: Sun Aug 12, 2007 2:45 pm 
Newbie

Joined: Sun Aug 12, 2007 2:34 pm
Posts: 8
Location: Geneva, IL USA
Has anyone gotten the SessionInView pattern to work? My web app uses 2 different domain models represented via 2 different assemblies. It's being used by an ASP.NET app. It's easy to map a single assembly via the web.config but how would i do this for my situation for multiple domain models...linking to different databases?

From what i read so far, the SessionInView pattern solves this but i'm yet to see an example of this in action. If someone has done this before, could you post an example on how to go about tackling this?

Thank you.
LH


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2007 1:28 pm 
Newbie

Joined: Sun Aug 12, 2007 2:34 pm
Posts: 8
Location: Geneva, IL USA
Please check this this thread on how to solve the multiple domains/database from one application problem:

http://forum.hibernate.org/viewtopic.php?t=962161

So far, specifying the schema (database) within every mapping file seems to work fine.

LH


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.