You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/10/30 05:21:38 UTC

[camel-spring-boot-examples] branch master updated: Fix jpa example to specify the h2 database (#24)

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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 6133398  Fix jpa example to specify the h2 database (#24)
6133398 is described below

commit 61333980563fbab92eb967bed04c89eb60243f47
Author: Amos Feng <zf...@redhat.com>
AuthorDate: Fri Oct 30 13:18:30 2020 +0800

    Fix jpa example to specify the h2 database (#24)
---
 .../src/main/resources/application-dev.yml                           | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/camel-example-spring-boot-rest-jpa/src/main/resources/application-dev.yml b/camel-example-spring-boot-rest-jpa/src/main/resources/application-dev.yml
index de09a57..ae9ae34 100644
--- a/camel-example-spring-boot-rest-jpa/src/main/resources/application-dev.yml
+++ b/camel-example-spring-boot-rest-jpa/src/main/resources/application-dev.yml
@@ -31,6 +31,11 @@ spring:
     # Let Spring Boot auto-configure an embedded HSQL database
     url:
 
+  # Spring Data JPA configuration
+  jpa:
+    database: h2
+    database-platform: org.hibernate.dialect.H2Dialect
+
 # The application configuration properties
 example:
   generateOrderPeriod: 2000