From 1b60135f8fe5c0f9eb57bb9e050ed5b836934eb2 Mon Sep 17 00:00:00 2001
From: Hendrik Jungnitsch <hendrik.jungnitsch@gedoplan.de>
Date: Di, 27 Sep 2022 17:58:03 +0200
Subject: [PATCH] exercise

---
 /dev/null                           |    1 -
 pom.xml                             |    4 ++++
 src/main/resources/application.yaml |    9 +++++++++
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/pom.xml b/pom.xml
index d0ce60f..8133975 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,10 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-jpa</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.h2database</groupId>
+            <artifactId>h2</artifactId>
+        </dependency>
 
         <dependency>
             <groupId>org.springframework.boot</groupId>
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
deleted file mode 100644
index 8b13789..0000000
--- a/src/main/resources/application.properties
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
new file mode 100644
index 0000000..a3c69e4
--- /dev/null
+++ b/src/main/resources/application.yaml
@@ -0,0 +1,9 @@
+spring:
+  datasource:
+    url: jdbc:h2:mem:seminar
+    username: seminar
+    password: seminar
+    driverClassName: org.h2.Driver
+  jpa:
+    hibernate:
+      ddl-auto: update

--
Gitblit v1.7.1