example showing that the resource option will load db from classpath