-->
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.  [ 2 posts ] 
Author Message
 Post subject: Getting MappingException.
PostPosted: Wed Mar 05, 2008 6:26 am 
Newbie

Joined: Thu Feb 21, 2008 6:19 am
Posts: 7
hi i am trying to rum a program whci is giving this error.plse help me out.

org.hibernate.MappingException: Association references unmapped class: Speaker
at org.hibernate.cfg.HbmBinder.bindCollectionSecondPass(HbmBinder.java:2377)
at org.hibernate.cfg.HbmBinder$CollectionSecondPass.secondPass(HbmBinder.java:2659)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:43)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1136)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
at javasrc.One_to_Many.main(One_to_Many.java:19)
Exception in thread "main"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 05, 2008 7:19 am 
Regular
Regular

Joined: Mon Aug 06, 2007 10:49 am
Posts: 67
Location: Banska Bystrica, Slovakia
it means that u dont have mapping for class speaker or your hibernate config doesn`t include the file where u have mapping for this class.

or maybe u have bad path to your class in your mapping


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.