Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Location for configuration files and hbm files

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers ,

I am trying to develop a web application based on Hibernate . so my question is that where should i keep the cfg and hbm files ??
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul , why are you not answering my queries ?

Please .
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RaviNada Kiran wrote:Hi Ranchers ,

I am trying to develop a web application based on Hibernate . so my question is that where should i keep the cfg and hbm files ??


These will need to be in the classpath of your application. If you use the default configuration mechanism your config file will need to be in the default package of your application, and this file will define where all mapping files should live.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic