title: How to access parent of `classpath:` in JDBC url?
body: <p>When running test, I use h2 database and there is a init.sql locating at <code>src/main/test/db/init.sql</code>.</p>
  
  <p>If I use JDBC url like this:<code>spring.datasource.druid.url=jdbc:h2:mem:s;MODE=MYSQL;INIT=RUNSCRIPT FROM 'classpath:/db/init.sql'</code>, the program will look for it at 
  <code>src/main/test/db/resources/db/init.sql</code>, which is not what the init.sql locate. </p>
  
  <p>If I specify like this :<code>spring.datasource.druid.url=jdbc:h2:mem:s;MODE=MYSQL;INIT=RUNSCRIPT FROM 'classpath:/../db/init.sql'</code>, it will display some error saying it cannot find the file. </p>
  
  <p>The question is that, what url should I specify to make JDBC look for the init.sql in <code>src/main/test/db/init.sql</code>?</p>