-->
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: An error in my xdoclet?
PostPosted: Sat Aug 13, 2005 12:34 am 
Newbie

Joined: Mon Sep 06, 2004 10:38 pm
Posts: 8
I have a simply mapping between two classes. When I try to create a Configuration, I get the exception:

Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: com.silverfieldstech.opencms.rss.Feed, for columns: [org.hibernate.mapping.Column(feed)]

This is in a class that has an attribute named feed, of type Feed. The hbm file looks fine.

Any ideas what I'm doing wrong?

I've tried to change feed to myFeed, but the same exception is thrown, with the new name.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 13, 2005 5:44 am 
Newbie

Joined: Sat Aug 13, 2005 4:48 am
Posts: 5
Location: Pakistan
Please create a mapping file for the Feed class too.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 13, 2005 12:21 pm 
Newbie

Joined: Mon Sep 06, 2004 10:38 pm
Posts: 8
I had forgot to make the property a many-to-one! Once I corrected this, it was fine.

Thanks.


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.