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

changing the database name

Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam using hibernate in my application...

Due to some reason i have to change my database name.........So, i have renamed the database and updated the same in the "hibernate.cfg.xml" file, but still the application is not running

On clearly observing the error, i have find out that, i have to change the database name in all the POJO related "hbm.xml" files...

Is this how, it has to be.....or is there any other way of doing it

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!