-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Custom generator classes bug
PostPosted: Wed May 25, 2005 3:56 pm 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.