take care with it. In each step we throw something because we know that after build the session-factory we are caching a lot of info to work with persistence.
On Fri, Jul 22, 2011 at 8:21 PM, Matteo Migliore <[email protected]>wrote: > Thanks Fabio, infact I seen that the method body is: > public void AddDeserializedMapping(HbmMapping mappingDocument, string > documentFileName) > { > if (mappingDocument == null) > { throw new ArgumentNullException("mappingDocument"); } > > try > { > NHibernate.Dialect.Dialect dialect = > NHibernate.Dialect.Dialect.GetDialect(this.properties); > ... > } > > So the mappingDocument is never saved internally in the Configuration class > and I can't retrieve it. > > I will dump the mapping before to pass the Configuration to my NH helper > class. > > Thanks! > -- Fabio Maulo
