-->
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.  [ 3 posts ] 
Author Message
 Post subject: NHibernate.MappingException: No persisters for:
PostPosted: Wed Jun 29, 2005 4:16 pm 
Newbie

Joined: Wed Jun 29, 2005 4:00 pm
Posts: 2
Hi folks,
I'm trying to administrate NHibernate and to get running the Quick Start Guide. I'm using mySQL, J# and ASP.NET 2.0 Beta2.

When I execute
session.Save(newUser)
I get the following Exception:

NHibernate.MappingException: No persisters for NHibernate.Examples.QuickStart

Thanks for helping!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 11:39 pm 
Newbie

Joined: Wed May 11, 2005 9:34 pm
Posts: 9
Can you post the mapping file(s) and the mapped objects?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 30, 2005 1:04 am 
Newbie

Joined: Wed Jun 29, 2005 4:00 pm
Posts: 2
I don't know, if it's realy working, but the expressions

Configuration cfg = new Configuration();
cfg.AddAssembly("NHibernate.Examples");

ISessionFactory factory = cfg.BuildSessionFactory();
ISession session = factory.OpenSession();
ITransaction transaction = session.BeginTransaction();

are executed without Errors.

Knows anybody an example implementation in J#?


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

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.