summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-01-24 19:34:43 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-01-24 19:34:43 +0100
commitbe0b89e3ce73018e1fb437905e1cf26bf26a9927 (patch)
tree417339db63dda995e64803b1d3867ffa481248c2 /Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources
parent710f54c0156c5fa081bc6af1a68e7cb44723939b (diff)
add example in spring
Diffstat (limited to 'Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources')
-rw-r--r--Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources/application.properties7
1 files changed, 7 insertions, 0 deletions
diff --git a/Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources/application.properties b/Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources/application.properties
new file mode 100644
index 0000000..30a59b8
--- /dev/null
+++ b/Year_3/TSDWL/SPRING/bank/bookstore/src/main/resources/application.properties
@@ -0,0 +1,7 @@
+#server.port=3000
+
+spring.datasource.url=jdbc:mysql://localhost:3307/sp?serverTimezone=Europe/Rome
+spring.datasource.username=root
+spring.datasource.password=pass
+spring.jpa.hibernate.ddl-auto=update
+spring.datasource.initialization-mode=always