Created
April 2, 2013 10:14
-
-
Save sureshnath/5291235 to your computer and use it in GitHub Desktop.
sample h2 memory url and sql scripts to load from class path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB_URL=jdbc:h2:mem:datasource;MODE=Oracle;INIT=runscript from 'classpath:/sql/h2.creation.sql' | |
h2.creation.sql | |
------------------------- | |
runscript from 'classpath:/testing/beforeclass/001-init.sql'; -- from class path | |
runscript from '~/001-init.sql'; --from ${user.home} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment