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