Hello, i want to use my Libro.hmb.xml file from the folder C:/Files from outside the .jar file, so if the table/attributes name changes in a future, i wont need to recompile the application, just edit the .xml file.
Is there anyway to do it? ive tried with the <mapping resource="C:/files/libro.xmb.xml"/>, or with addResource(new File(...)), everything with same result, no file found. I've also tried placing C:/file/hibernate.cfg.xml and using configuration.configure("C/..."), but it wont load the libro.xmb.xml anyways.
Is there anyway to do it (without "zipping" the xml files as ANOTHER jar)? thank you.
nvm solved, making a folder inside the project and not including it in the .jar works, thnks anyways :P
|