Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HIbernate

 
kate pal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All ,

I am very new to Java but want to learn more and more , I did some and now I am learning Hibernate , I want to build very small application I tried but so many exceptions were there and most common among that is hibernate.cfg.xml not found , I read on that but I don't know how to set path for that .Can anybody show me the steps how to begin with application.

Please your help will be appriciated.
 
arulk pillai
Author
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to mak sure that your hibernate.cfg.xml is in the classpath. This should be in your classes folder.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!