Using configuration file in a jar library (Creating hibernate library)
Hi,
I have a huge datebase and I am using it in several applications, So I thought it should be easier for me to create a jar file that contains all the classes, xml files and mappings into one jar file and to just import it when I need it. The problem is that the program doesn't recognise my mapping in the configuration file placed in the jar library .. it says:
Quote:
Unknown entity: NomadHibXml.TestNetwork
and I think that's a problem regarding the configuration file, The library is working good, I tested it, The configuration file is read also in this program since there is no problem of connection .. but the mapping is not working :(
Anyone can help? thanks.