Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 1.0.2.0
Mapping documents: 1 (NHibernateMap.hbm.xml)
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
" in NHibernate.Cfg.Configuration.AddXmlFile(String xmlFile)
in ....\Repository.vb: line 21"
Name and version of the database you are using: SQL Server 2000 (Table: MedXen)
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
*******************************************************
Code that generates the exception:
Private _nhConfig As Configuration
Private _nhFactory As ISessionFactory
Private Const NHibernateConfigurationFile As String = "NHibernateMap.hbm.xml"
_nhConfig = New Configuration
_nhConfig.AddXmlFile(NHibernateConfigurationFile)
_nhFactory = _nhConfig.BuildSessionFactory