• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Renaming hibernate.cfg.xml

 
Kul Luk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am new to hibernate. Can you please tell is it possible to rename "hibernate.cfg.xml" file in an application.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You'll need to tell Hibernate what and where the new configuration file is. See the Javadocs for the Configuration class.
 
Kul Luk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please detail me the process
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here you go.
 
Kul Luk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Here you go.


Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic