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: Hibernate3 problem : could not instantiate id generator
PostPosted: Thu Nov 11, 2004 7:18 pm 
Newbie

Joined: Wed Nov 10, 2004 9:56 pm
Posts: 2
Hi,
I tried using hibernate3 alpha version in my existing codes that was first implemented with hibernate2.1.6.

With hibernate2.jar, it runs fine but with the used of hibernate3.jar - it failed on the
sessionFactory = new Configuration().configure().buildSessionFactory() statement with HibenateException of "could not instantiate id generator"

Can someone tell me what went wrong and what is missing ...

Cheers.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 7:39 pm 
Newbie

Joined: Wed Nov 10, 2004 9:56 pm
Posts: 2
found the cause of my problem - forgot to change the package rename of hibernate for the following line in the hibernate.xml.cfg :-
<property name="hibernate.dialect">sf.net.hibernate.dialect.Oracle9Dialect</property> --> should be changed to
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>


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.