Well it is easy.After read your XML where your entities are defined you can create all mappings at run-time before BuildSessionFactory... (as FNH are doing)
All your entities are dynamics but all your tables are not so dynamics. I'm curious to see your system... a little bit only 1 or 2 classes. 2009/3/10 darren <[email protected]> > > I require my application to be able to add, remove, or modify mappings > at runtime without restarting the framework. I have yet to find > anything in the documentation that would allow me to do that. All the > entities in my framework are created dynamically at runtime based on a > definition in an xml file -- the database schema and mappings need to > be kept in sync at runtime > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
