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 sources & same objects. connstrings in central
PostPosted: Wed Oct 08, 2008 9:13 am 
Beginner
Beginner

Joined: Fri Sep 26, 2008 9:19 am
Posts: 20
Location: Belgium
Using: NHibernate 2.0, MSSQLServer 2005, ASP.NET 3.5, C#


Hi,
I'm trying to make a central editor for all our customers, which have all the same database.
so all my mappings for all projects will constantly be the same.
Since the amount of customers is not fixed (some can be deleted, some can be added), a list of all projects, along with their connectionstrings are saved in a master database.

Is it possible to create something that can use the same mappings, classes with another sessionmanager (or whatever i need to make it work, i'm a noob when it comes to NHibernate)

So let's say when i call the function object.Save(int projectID),
that i can choose the right session to save this object?


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.