-->
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: org.hibernate.MappingException: Unknown entity:
PostPosted: Thu Oct 19, 2006 9:36 am 
Newbie

Joined: Tue Jun 20, 2006 3:01 am
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

I am finding a very piculiar problem while fetching the data by primary key class wots happening is i have one table that has multiple primary keys so i am having its PrimaryId java class and in that i have both the keys as setter n getter and also its refered in the hbm.xml file too but now when i wanna load a particular object based on primary key i instantiate the primaryid object as new PRIMARYID(First, second) and pass this object to the session.get(PRIMARYID, id) and get the error that could not find mapping for PRIMARYID MappingException:

<b>org.hibernate.MappingException: Unknown entity: com.ess.sing.mvi.md.hibernate.system.gui.GuiFormTabsId.class</b>

can anyone suggest something.


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.