-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
41 lines (27 loc) · 1.25 KB
/
application.properties
File metadata and controls
41 lines (27 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ===============================
# = DATA SOURCE
# ===============================
# Set here configurations for the database connection
#logging.level.org.springframework.web=DEBUG
# Connection url for the database "netgloo_blog"
spring.datasource.url=jdbc:mysql://localhost:33307/customdiff?serverTimezone=UTC
# Username and password
spring.datasource.username = customdiff
spring.datasource.password = customdiff
# Keep the connection alive if idle for a long time (needed in production)
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1
# ===============================
# = JPA / HIBERNATE
# ===============================
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is
# stripped before adding them to the entity manager).
# Show or not log for each sql query
# spring.jpa.show-sql = true
# Allows Hibernate to generate SQL optimized for a particular DBMS
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL8Dialect
server.port = 9091
#logging.level.org.hibernate.SQL=DEBUG
#spring.jpa.properties.hibernate.show_sql=true
#logging.level.org.springframework.jdbc.core.JdbcTemplate=debug
#logging.level.org.springframework.jdbc.core.com.mysql.cj.jdbc.JdbcPreparedStatement=trace