Spaces:
Sleeping
Sleeping
KevanSoon
commited on
Commit
·
62e55b3
1
Parent(s):
ca3dfa7
change some stuff
Browse files- pom.xml +19 -14
- src/main/resources/application.properties +6 -0
pom.xml
CHANGED
|
@@ -30,21 +30,26 @@
|
|
| 30 |
<java.version>17</java.version>
|
| 31 |
</properties>
|
| 32 |
<dependencies>
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
<dependency>
|
| 43 |
-
<groupId>org.springframework.boot</groupId>
|
| 44 |
-
<artifactId>spring-boot-starter-test</artifactId>
|
| 45 |
-
<scope>test</scope>
|
| 46 |
-
</dependency>
|
| 47 |
-
</dependencies>
|
| 48 |
|
| 49 |
<build>
|
| 50 |
<plugins>
|
|
|
|
| 30 |
<java.version>17</java.version>
|
| 31 |
</properties>
|
| 32 |
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>org.springframework.boot</groupId>
|
| 35 |
+
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
| 36 |
+
</dependency>
|
| 37 |
+
<dependency>
|
| 38 |
+
<groupId>org.springframework.boot</groupId>
|
| 39 |
+
<artifactId>spring-boot-starter-web</artifactId>
|
| 40 |
+
</dependency>
|
| 41 |
+
<dependency>
|
| 42 |
+
<groupId>org.springframework.boot</groupId>
|
| 43 |
+
<artifactId>spring-boot-starter-test</artifactId>
|
| 44 |
+
<scope>test</scope>
|
| 45 |
+
</dependency>
|
| 46 |
+
<dependency>
|
| 47 |
+
<groupId>com.h2database</groupId>
|
| 48 |
+
<artifactId>h2</artifactId>
|
| 49 |
+
<scope>runtime</scope>
|
| 50 |
+
</dependency>
|
| 51 |
+
</dependencies>
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
<build>
|
| 55 |
<plugins>
|
src/main/resources/application.properties
CHANGED
|
@@ -1 +1,7 @@
|
|
| 1 |
spring.application.name=demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
spring.application.name=demo
|
| 2 |
+
spring.datasource.url=jdbc:h2:mem:testdb
|
| 3 |
+
spring.datasource.driver-class-name=org.h2.Driver
|
| 4 |
+
spring.datasource.username=sa
|
| 5 |
+
spring.datasource.password=
|
| 6 |
+
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
|
| 7 |
+
spring.jpa.hibernate.ddl-auto=update
|