• 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



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic