Thread:
 MappingException received 
 frenzy776   10 Jul 2007, 02:43 
 Re: MappingException received 
 gunwantw   28 Aug 2007, 12:50 
 Re: MappingException received 
 Tatiana_V   30 Aug 2007, 08:35 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: Tatiana_V (30 Aug 2007, 08:35) Replies: 0, Views: 3980
Subject: Re: MappingException received
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE PAGE!On 10 
Jul 2007 02:43, frenzy776 wrote:

>While trying to get this quickstart to work I keep getting a
>MappingException: "XML validation error: Could not find schema
>information for the element 'urn:nhibernate-mapping-2.0:hibernate-
>mapping" when calling cfg.AddAssembly("DBSandbox").


Update the XML schema reference in your hbm XML files. Change urn:nhibernate-
mapping-2.0 to urn:nhibernate-mapping-2.2 in the hibernate-mapping element.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]