Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

changing the database name  RSS feed

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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!