I have had to disable it in the past as well. I haven't seen any drawbacks yet. I believe these end up getting used in DB creation processes via nh.
You can disable it using: configuration.SetProperty(Environment.Hbm2ddlKeyWords, "none") On Sep 21, 6:00 am, Niclas Pehrsson <[email protected]> wrote: > Hi I need to prevent NHibernate to call the database on > configuration.BuildSessionFactory() > Cause I don't know the connectionstring when building the > SessionFactory. > > I have locted where it calls the database when building and it is in > the SessionFactory's constructor. > > if (settings.IsKeywordsImportEnabled) > { > SchemaMetadataUpdater.Update(this); > } > if (settings.IsAutoQuoteEnabled) > { > > SchemaMetadataUpdater.QuoteTableAndColumns(cfg); > } > > What is the drawbacks to disable IsKeywordsImportEnabled and > IsAutoQuoteEnabled ? -- 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.
