I got further by doing a cnf.Configure("app.config") but still won't complie my hbm.xml.
I get:
NHibernate.MappingException: Could not compile the mapping document: BDM_Controller.Source.ORM.DB_Accounts.hbm.xml ---> System.InvalidOperationException: There is an error in XML document (1, 2). ---> System.InvalidOperationException: <hibernate-mapping xmlns='urn:nhibernate-configuration-2.2'> was not expected.
On the same hbm.xml above. I have stripped out the class section, same result, stripped out the parameters in the hibernate-mapping tag, same result (but you can see that it is looking at that tag.
I wish there were better more complete examples for the current version of the library.
Any ideas appreciated (if they solve the issue at hand, of course)
Thanks,
---John Putnam
|