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: Modify Mapping Configuration at Runtime
PostPosted: Wed Feb 28, 2007 11:51 pm 
Newbie

Joined: Wed Oct 25, 2006 2:09 am
Posts: 2
We are looking at implementing Nhibernate and we are attempting to make a proof of concept that illustrate that we can fulfill our current requirements.

Our system has numerous clients who use the same app and each have a physical table. A row is mapped essentially to a hashtable of column name/value pairs.

They can add and remove columns from that table, so (unless there is a better approach) we thought we would need to be able to modify the mappings at runtime.

Currently we have a SessionFactoryProvider that returns the current SessionFactory for the given client. When a config reload is required we create a new sessionfactory with a modified XML config.

Can anyone point us in a better direction than this?
Is there any configuration dom or builder classes failing a better appraoch?

Thanks


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.