Hello,
First of all, I must say I previously looked for the answer for this noob question and found none.
In my hibernate.properties file, I have the following part:
Code:
hibernate.dialect org.hibernate.dialect.FirebirdDialect
hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver
hibernate.connection.url jdbc:firebirdsql:127.0.0.1/3050:./BD/auge.gdb
hibernate.connection.username sysdba
hibernate.connection.password password
And I am having difficulties setting a relative URL, like the one I'm trying to do above. If I put the whole path, it works. But the relative path doesn't.
What I wanted to tell with the path above was: access the directory BD which is in this same directory (the hibernate.properties dir). But it just doesn't work.
I feel I must put an relative path because I tried to change the path later (in tomcat, in my compiled application) and it didn't work. So what's the right way to refer to it?