-->
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 tools - console configuration - classpath problem
PostPosted: Fri Feb 04, 2005 5:47 pm 
Beginner
Beginner

Joined: Thu Feb 03, 2005 7:23 pm
Posts: 23
Hello,

I just installed hibernate3 tools. I can create a hibernate.cfg.xml, but while I am creating a console configuration, it only allows me to select folders under my source root. as a result when I hit generate session factory, it compains about not being able to load the database driver.

I am using Oracle. (ojdbc14.jar) even when this jar is in the classpath of my project, I get the same error.

under \workspace\.metadata\.plugins\org.hibernate.eclipse.console\ there is a hibernate-console.xml, but when I edit this with hand I get a parse error.

this tool looks very nice. I have been trying all sorts of plugins for hibernate, and I would like to be able to use this one, please help.

PS: I have eclipse 3.1m4


Top
 Profile  
 
 Post subject: solution
PostPosted: Fri Feb 04, 2005 6:14 pm 
Beginner
Beginner

Joined: Thu Feb 03, 2005 7:23 pm
Posts: 23
ok guys, I was able to solve the problem.
I created a class, with a package name, then copied the jar file into the directory that represents the package. restarted eclipse, then the create console was able to see the jar file.
Greetings.


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.