Answer the question
In order to leave comments, you need to log in
How to pull the Hibernate config?
I am making a database access library that will crawl into the database and issue Java objects in the form I need. I compile the library into JAR, then import it into the project and use it.
I'm doing it on Hibernate. Accordingly, there is a hibernate.cfg.xml file, in which links, passwords, etc. Naturally, I want this file to be not inside the JAR, but separately.
Question: how to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question