-->
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: Urgent Help regarding MappingException and id generator
PostPosted: Thu Mar 19, 2009 8:01 am 
Newbie

Joined: Tue Feb 24, 2009 6:52 am
Posts: 15
Dear all
i m using Hibernate 3.2.5.

i have got all mappings correct , i mean atleast it doesnt give me incorrect mapping error.
Except for one class it gives a warning :--

WARNING: composite-id class does not override equals(): payments
WARNING: composite-id class does not override hashCode(): payments
And then after some hibernate tasks
it gives me following line of Exception
.....

...
INFO: Default entity-mode: pojo
INFO: Named query checking : enabled
INFO: building session factory
INFO: Exception--->org.hibernate.MappingException: could not instantiate id generator

im a novice to hibernate
Please help me in correcting above Exception

Regards
Vikram


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 19, 2009 8:08 am 
Beginner
Beginner

Joined: Wed Oct 03, 2007 4:10 am
Posts: 46
It does look like one.. but you have to post extract from your mappings in order to help you.

But if the object are saved in the database maybe it is just a warning and you can ignore it..


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.