|
@@ -1,8 +1,26 @@
|
1
|
1
|
# H2
|
2
|
|
-spring.h2.console.enabled=true
|
3
|
|
-spring.h2.console.path=/h2
|
|
2
|
+
|
|
3
|
+#spring.h2.console.enabled=true
|
|
4
|
+#spring.h2.console.path=/h2
|
|
5
|
+
|
4
|
6
|
# Datasource
|
5
|
|
-spring.datasource.url=jdbc:h2:file:~/test
|
6
|
|
-spring.datasource.username=sa
|
|
7
|
+
|
|
8
|
+#spring.datasource.url=jdbc:h2:file:~/test
|
|
9
|
+#spring.datasource.username=sa
|
|
10
|
+#spring.datasource.password=
|
|
11
|
+#spring.datasource.driver-class-name=org.h2.Driver
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+spring.datasource.url=jdbc:mysql://localhost:3306/passionProject?useSSL=false
|
|
16
|
+spring.datasource.username=root
|
7
|
17
|
spring.datasource.password=
|
8
|
|
-spring.datasource.driver-class-name=org.h2.Driver
|
|
18
|
+
|
|
19
|
+# The SQL dialect makes Hibernate generate better SQL for the chosen database
|
|
20
|
+spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
|
|
21
|
+
|
|
22
|
+# Hibernate ddl auto (create, create-drop, validate, update)
|
|
23
|
+spring.jpa.hibernate.ddl-auto = update
|
|
24
|
+
|
|
25
|
+logging.level.org.hibernate.SQL=DEBUG
|
|
26
|
+logging.level.org.hibernate.type=TRACE
|