Hi guys!
I tried to found anything about my problem before posting but I couldn't! So, sorry if I am posting a question that has been already answered.
I am using Hibernate 3.0, Eclipse 3.1.0 and Hibernate tools 3.0 alpha 1 with MySQL database.
I create a configuration file(cfg.xml) and a console configuration. But then I get this exception under artifact generation:
Error under artifact generation Reason: org.hibernate.console.HibernateConsoleRuntimeException:Problems while loading databse driver class(com.mysql.jdbc.Driver)
Then I tried to connect using good and old jdbc code to find out if the problem was with the Driver. And it was not. The connection worked fine.
Am I doing something wrong? Can anybody help?
Thanks,
Leo.
|