Joined: Fri May 13, 2005 3:04 pm Posts: 6 Location: Cleveland, OH
|
I've been struggling trying to get a custom developed generator to work. I created the generator class and added it to the class library (DLL) that contains the domain model. In a test application the program throws an exception while executing "Configuration.BuildSessionFactory" stating "cannot load id generator". In turns out the reason is because the name of the assembly is required (if different from NHibernate) in the <generator class="...." definition; even though I set the name of the assembly in the <hibernate-mapping assembly="..."/> tag.
One of the problem is that the log does not record any type of error information for this error or any other mapping error that occurs in this phase.
thanks,
--john
|
|