commit | 61333980563fbab92eb967bed04c89eb60243f47 | [log] [tgz] |
---|---|---|
author | Amos Feng <zfeng@redhat.com> | Fri Oct 30 13:18:30 2020 +0800 |
committer | GitHub <noreply@github.com> | Fri Oct 30 06:18:30 2020 +0100 |
tree | 3e2dfd10ca480275403b0c8439751562ef73f42c | |
parent | 9677d7a95cd39dca12b43e1060342a4d614b4781 [diff] |
Fix jpa example to specify the h2 database (#24)
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 @@ # 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