Use absolute path for derby database to ensure that the database is always places with the example code.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-04-21 18:20:45 +00:00
parent 149011a3df
commit c1486499a4
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@
<!-- database connection properties -->
<property name="dbdriver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
<property name="dburl" value="jdbc:derby:${example}-database;create=true"/>
<property name="dburl"
value="jdbc:derby:${basedir}/${example}-database;create=true"/>
<property name="dbuser" value=""/>
<property name="dbpass" value=""/>