-->
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.  [ 6 posts ] 
Author Message
 Post subject: Hibernate (JBoss) plugin help
PostPosted: Thu Sep 14, 2006 2:20 pm 
Newbie

Joined: Wed Mar 02, 2005 10:39 am
Posts: 6
Location: hartford CT
Hi :

Im trying to get hibernate up and running and am having a problem
with the jboss plugin .

I keep getting the following error :

org.hibernate.console.HibernateConsoleRuntimeException: Problems while loading database driverclass (com.jdbc.mysql.Driver)
java.lang.ClassNotFoundException: com.jdbc.mysql.Driver
java.lang.ClassNotFoundException: com.jdbc.mysql.Driver


I have not only included the jar directly in the eclipse project - but also added to the eclipse class path. Please help !

If youre wondering the particular methodology Im using, I have replicated section 3.3 of the following tutorial : http://www.hibernate.org/hib_docs/tools ... ugins.html


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 3:04 pm 
Newbie

Joined: Wed Mar 02, 2005 10:39 am
Posts: 6
Location: hartford CT
i replace it with com.mysql.jdbc driver, now it sais "internal error has occured". Is this an eclipse issue ? I dont think so but Im not sure.
It seems like this is alot of overhead to handle just for finding a database...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 1:42 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you keep mentioning the eclipse class/project path where is the docs always talks about the Console configuration classpath. Have you placed the driver on it ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 1:20 pm 
Newbie

Joined: Wed Mar 02, 2005 10:39 am
Posts: 6
Location: hartford CT
Yes Ive added mysql - connector - 3.1.3 to the project.

Not only to eclipse, but also to the console configuration panel
at the bottom.

Please help ?!


It just keeps saying ... "error fetching children".


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 1:50 pm 
Newbie

Joined: Wed Mar 02, 2005 10:39 am
Posts: 6
Location: hartford CT
OKay I fixed it by using mysql connector 3.1.12 instead of 3.1.13

That is EXTREMELY weird. Why is it that hibernate only works with mysql
connector 3.1.12 but not 3.1.13 ? And even stranger, howcome the only message shown is "error fetching children" ?

Can somebody shed some light on this ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 5:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
look in the error log.

_________________
Max
Don't forget to rate


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