summaryrefslogtreecommitdiff
path: root/spring-boot/04-bank-jpa-rest/src/main/resources/application.properties
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/04-bank-jpa-rest/src/main/resources/application.properties')
-rw-r--r--spring-boot/04-bank-jpa-rest/src/main/resources/application.properties21
1 files changed, 21 insertions, 0 deletions
diff --git a/spring-boot/04-bank-jpa-rest/src/main/resources/application.properties b/spring-boot/04-bank-jpa-rest/src/main/resources/application.properties
new file mode 100644
index 0000000..16ae16c
--- /dev/null
+++ b/spring-boot/04-bank-jpa-rest/src/main/resources/application.properties
@@ -0,0 +1,21 @@
+# Possible locations of this file:
+# (Properties defined in locations higher in the list override those defined in lower locations)
+#
+# A /config subdirectory of the current directory
+# The current directory
+# A classpath /config package
+# The classpath root
+#
+
+spring.profiles.active=dev
+
+spring.datasource.url=jdbc:mariadb://localhost:3306/bankdb
+spring.datasource.username=bankdbuser
+spring.datasource.password=abc123
+
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect
+
+spring.jpa.hibernate.ddl-auto=create-drop
+spring.jpa.show-sql=true
+
+bankapp.init-testdata=0