> Hadnt thought of that, thanks, > > Would it be possible to add my definitions to the DataStore, and then > recreate or reinitialize the SessionFactoryImpl? > > Then I could build a guy where the user can define his new tables, and > modify just the DataStore, and when he clicks on "apply", i update the > db and recreate the SessionFactoryImpl. > > Would that work?
Can't think why not. Should be fine. The Datastore is designed to allow multiple calls to buildSessionFactory (but you should watch out for bugs in that because its not covered in the test suite!) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
