On Classpath Database
←Older revision | Revision as of 07:32, 17 July 2010 | ||
Line 17: | Line 17: | ||
==== On Classpath Database ==== | ==== On Classpath Database ==== | ||
- | You may notice that I am creating the database inside ''build/classes'' directory. E.g. on the application classpath. This allows my tests to reference the database with location agnostic ''jdbc:derby:classpath:db'' [[URL]]. | + | You may notice that I am creating the database inside ''build/classes'' directory. E.g. on the application classpath. This allows my tests to reference the database with location agnostic ''jdbc:derby:classpath:db'' [[URL]] (the last ''db'' is relative path to root of classpath elements). |
==== Perfect Match ==== | ==== Perfect Match ==== |