test « cfg « JPA Q&A





1. With nHibernate, how can I manage my hibernate.cfg.xml file in both my web app and test project?    stackoverflow.com

Seeing as the hibernate.cfg.xml file has to be in the running application (in this case a web application), what is the best way to have the file in both my test ...

2. couldn't find file hibernate.cfg.xml    stackoverflow.com

I want to run a test-porject (with the usage of NHibernate). I configured NH in the app.config. Why do I get this error?

Could not find file 'C:\Users\elad\Documents\Visual Studio 2010\Projects\SVN\UGI\Ugi\MetadataServiceTest\bin\Debug\hibernate.cfg.xml'.