SessionFactories are immutables, you cannot change a connection string. You need a session factory for each database.
However ,you can change a connection string just before a sessionfactory is initialize.d Tuna Toksöz http://tunatoksoz.com http://turkiyealt.net http://twitter.com/tehlike Typos included to enhance the readers attention! On Mon, Mar 9, 2009 at 2:46 PM, dagda1 <[email protected]> wrote: > > > Is there anyway I can change the connection string at --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
