You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/10/19 04:31:51 UTC

[karaf] branch master updated: Fix karaf-jpa-example using absolute path for H2 datasource

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new ab0d413  Fix karaf-jpa-example using absolute path for H2 datasource
ab0d413 is described below

commit ab0d413dbb5f253921fc1302813f7a0481c0fc9c
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Sat Oct 19 06:31:21 2019 +0200

    Fix karaf-jpa-example using absolute path for H2 datasource
---
 .../karaf-jpa-example-features/src/main/feature/feature.xml           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/karaf-jpa-example/karaf-jpa-example-features/src/main/feature/feature.xml b/examples/karaf-jpa-example/karaf-jpa-example-features/src/main/feature/feature.xml
index 1b5afaa..92d5623 100644
--- a/examples/karaf-jpa-example/karaf-jpa-example-features/src/main/feature/feature.xml
+++ b/examples/karaf-jpa-example/karaf-jpa-example-features/src/main/feature/feature.xml
@@ -21,7 +21,7 @@
     <feature name="karaf-jpa-example-datasource" version="${project.version}">
         <config name="org.ops4j.datasource-booking">
             osgi.jdbc.driver.class=org.h2.Driver
-            databaseName=booking;create=true
+            databaseName=./booking;create=true
             dataSourceName=booking
         </config>
         <capability>
@@ -82,4 +82,4 @@
         <bundle>mvn:org.apache.karaf.examples/karaf-jpa-example-command/${project.version}</bundle>
     </feature>
 
-</features>
\ No newline at end of file
+</features>