This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes strange connection problem (Hibernate) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "strange connection problem (Hibernate)" Watch "strange connection problem (Hibernate)" New topic
Author

strange connection problem (Hibernate)

Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
I have a small app that I wrote w/ Hibernate in the DA layer. I recently had it working with mysql 4.0.x and now that I'm trying to run it on a different system with mysql 4.1.x it is throwing an exception:



I haven't changed this app at all...other than using mysql 4.1 vs. 4.0...I haven't even changed the driver (which may be the problem?)

The environment is the same...the user is "root" and the password is blank...a default mysql installation (local development box.)

I'm stumped...unless it's the driver? Hopefully someone recognizes this issue...it's entirely new to me and all I could find on google was references to Spring...which I'm not using at all.
Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
Wow, getting the same thing when I switched over to Postgresql 8.0 (which also worked before.)

I moved to Ubuntu from Gentoo...something's gotta be different system-wise that's disallowing db connections!!
 
Consider Paul's rocket mass heater.
 
subject: strange connection problem (Hibernate)
 
Similar Threads
please help on this error.thanks
Conflict with Hibernate's Pool and Mysql?
Trouble in setting up JFORUM with Eclipse as a Tomcat Project
MYSQL Connection Error
FileUploadException while uploading a file using struts