wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Unable to run the Hibernate program 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 » Frameworks » Other Application Frameworks
Bookmark "Unable to run the Hibernate program" Watch "Unable to run the Hibernate program" New topic
Author

Unable to run the Hibernate program

Arun chandu
Greenhorn

Joined: May 28, 2013
Posts: 11
Hello Everyone,

I'm learning Hibernate. I search lot of site for ref. when ever i trying to run the program, it showing error.
I'm using Eclipse for the programming and add all jar file into library through buildpath. Here the code for the ManageEmployee


Here its is POJO class


and conf. file is here:



Even every i'm running the program then its shows


And im attaching the jar file image

Please help me.
Thanks in advance.



[Thumbnail for project.jpg]

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

I'm not a 'Hibernate' savvy but I guess that you need to specify also the port for hibernate.connection.url property.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

And you have a typo here: hibernaet.connection.password
Arun chandu
Greenhorn

Joined: May 28, 2013
Posts: 11
Thank Hussein Baghdadi for responding.

I corrected the 'hibernaet.connection.password' long back, even its not working.

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

What is the exception/error you are getting this time?
 
 
subject: Unable to run the Hibernate program
 
Similar Threads
/hibernate.cfg.xml not found while Running simple java program
java.lang.reflect.UndeclaredThrowableException
unable to insert data in mysql through hibernate even program run without error
hibernate3 : help find out the error
org.hibernate.InvalidMappingException