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
|
|