I was more interested in a test project. But that's ok, I can create two files, not big deal. I was just curious.
On Nov 20, 11:50 am, Jason Meckley <[email protected]> wrote: > i know session names play a role with the MappedCurrentSessionContexts > utility. it's used to distinguish between multiple factories in the > same project along with associating the session to the correct session > factory. i wouldn't use them for changing the build between dev/test/ > prod enviornments. For that I would change the hibernate.cfg.xml for > the appropriate environment. > > On Nov 20, 12:22 pm, epitka <[email protected]> wrote: > > > > > In the nhibernate configuration file one can set name of the session- > > factory like this > > > <session-factory name="MyFactoryName"> > > > How can this name be used? Is it possible to set up different session > > factories, let's say one for SQLite (for testing) and other for > > integration tests against MSSql and in the building of session factory > > use that name to build it differently? Is it possible? -- 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=.
