Dear All!
I use Hibernate in an extension-like server-side application, and I put my binaries to the Extensions folder of the server application. The problem is, that if I run the server, the root folder is the root folder of the server application, and not the root of the binaries. Thus, Hibernate searches the config file in that folder, and it tries to find the classes from that folder. I guess this is related to the JVM, as the server launches it. The config file is not a problem though, because I can just copy my config files there, but all the paths gone invalid. As a result, in my generated mapping file, I have a class org.gmate.data.SomeClass.java, but it won't find it.
My question: Is there any way, solution or workaround, that I can set the root folder of Hibernate to be the Extension folder, so it starts to get the classes from there?
Thanks for all the replies in advance, gmate