aboutsummaryrefslogtreecommitdiffstats
path: root/SDNCReports/sdnc_reports_dao/src/main/resources/application.properties
diff options
context:
space:
mode:
Diffstat (limited to 'SDNCReports/sdnc_reports_dao/src/main/resources/application.properties')
-rw-r--r--SDNCReports/sdnc_reports_dao/src/main/resources/application.properties29
1 files changed, 29 insertions, 0 deletions
diff --git a/SDNCReports/sdnc_reports_dao/src/main/resources/application.properties b/SDNCReports/sdnc_reports_dao/src/main/resources/application.properties
new file mode 100644
index 0000000..e79c8b2
--- /dev/null
+++ b/SDNCReports/sdnc_reports_dao/src/main/resources/application.properties
@@ -0,0 +1,29 @@
+#spring.datasource.url=jdbc:mysql://localhost:3306/mysql?useSSL=false
+#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+#spring.datasource.name=mysql
+#spring.jpa.database=mysql
+#spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
+
+spring.jpa.generate-ddl=true
+spring.datasource.url=jdbc:mariadb://localhost:3306/testreports
+spring.datasource.username=root
+spring.datasource.password=root
+spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
+spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
+#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
+# Keep the connection alive if idle for a long time (needed in production)
+spring.datasource.testWhileIdle=true
+
+#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardIm
+
+#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
+#spring.jpa.properties.hibernate.id.new_generator_mappings = false
+#spring.jpa.properties.hibernate.format_sql = true
+#spring.jpa.hibernate.ddl-auto=create
+
+
+#logging.level.org.hibernate.SQL=DEBUG
+#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
+
+# Naming strategy
+#spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy \ No newline at end of file