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/20 14:23:13 UTC
[karaf] branch karaf-4.2.x 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 karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
new 881a0ee Fix karaf-jpa-example using absolute path for H2 datasource
881a0ee is described below
commit 881a0ee3b1c2b10153f63c3e53a51bcf01ee2110
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
(cherry picked from commit ab0d413dbb5f253921fc1302813f7a0481c0fc9c)
---
.../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>