Skip to content

Commit dcbb94a

Browse files
committed
2 parents 9ee434e + f7bbb9e commit dcbb94a

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed
Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
spring.jpa.show-sql=true
2-
spring.jpa.hibernate.ddl-auto=update
3-
spring.h2.console.enabled=true
4-
spring.datasource.url=jdbc:h2:~/test;DB_CLOSE_ON_EXIT=FALSE
1+
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
2+
spring.datasource.url = jdbc:mysql://localhost:3306/retailer_app?useSSL=false
3+
spring.datasource.username = root
4+
spring.datasource.password = root
5+
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
6+
7+
8+
## Hibernate Properties
9+
# The SQL dialect makes Hibernate generate better SQL for the chosen database
10+
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
11+
12+
13+
# Hibernate ddl auto (create, create-drop, validate, update)
14+
spring.jpa.hibernate.ddl-auto = update
15+
16+
# setting logger level
17+
logging.level.root=Info
18+
19+
#setting logger color
20+
spring.output.ansi.enabled= ALWAYS

0 commit comments

Comments
 (0)