Hello
I’ve been trying out myeclipse for the past two weeks and overall it’s been interesting. But there are a still a few things which have frustrated/prevented me from progressing further with the myeclipse system (primarily the tutorials errors/mismatch/bugs).
I’ve been going through the Hibernate Introduction Tutorial and I’ve followed the steps but encountered a error up to the 6th step using the HQL editor.
When I type “from User” the Hibernate Dynamic Query Translator displays the proper results as expected just like the tutorial video. But when I try to RUN that HQL I get the error in the Hibernate Query Result Window:
“org.hibernate.exception.GenericJDBCException: Cannot open connection”
It is quite strange to me in that I can connect to the database via the DB Browser, I can view all the tables etc. But I just can’t RUN ANY HQL queries on the selected tables via the HQL editor? I have the mysql-connector-java-5.0.8-bin.jar in my project path also
Iam also using a super user root mysql account if that makes any difference which at the moment it doesn’t seem to.
Iam using:
Eclipse 3.2.1
OS: CentOS 5 x64
MySQL Server: 5.0.22
MyEclipse: 5.5.1 GA
Thank you for your time.