Skip to content

Commit 7e76d56

Browse files
committed
Fix: Update SB-Data DB configuration
1 parent c9418c3 commit 7e76d56

6 files changed

Lines changed: 23 additions & 32 deletions

File tree

Chapter 10 Spring DataJPA/DataJPA 02-PagingAndSortingRepository/src/main/resources/application.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ spring.datasource.username = root
55
spring.datasource.password = root@123
66

77
#JPA -hibernate properties
8-
spring.jpa.hibernate.ddl-auto=update
9-
spring.jpa.show-sql = true
10-
spring.jpa.properties.hibernate.format_sql=true
11-
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
8+
spring.jpa.hibernate.ddl-auto = update
9+
spring.jpa.show-sql = true
10+
spring.jpa.properties.hibernate.format_sql = true
11+
spring.jpa.database-platform = org.hibernate.dialect.MySQL8Dialect

Chapter 10 Spring DataJPA/DataJPA 03-JpaRepositor/src/main/resources/application.properties

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ spring.datasource.username = root
55
spring.datasource.password = root@123
66

77
#JPA -hibernate properties
8-
spring.jpa.hibernate.ddl-auto=update
9-
spring.jpa.show-sql = true
10-
spring.jpa.properties.hibernate.format_sql=true
11-
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
12-
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
8+
spring.jpa.hibernate.ddl-auto = update
9+
spring.jpa.show-sql = true
10+
spring.jpa.properties.hibernate.format_sql = true
11+
spring.jpa.database-platform = org.hibernate.dialect.MySQL8Dialect

Chapter 10 Spring DataJPA/DataJPA 04-CustomQueryApp/src/main/resources/application.properties

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ spring.datasource.username = root
55
spring.datasource.password = root@123
66

77
#JPA -hibernate properties
8-
spring.jpa.hibernate.ddl-auto=update
9-
spring.jpa.show-sql=true
10-
spring.jpa.properties.hibernate.format_sql=true
11-
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
12-
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
13-
14-
15-
8+
spring.jpa.hibernate.ddl-auto = update
9+
spring.jpa.show-sql = true
10+
spring.jpa.properties.hibernate.format_sql = true
11+
spring.jpa.database-platform = org.hibernate.dialect.MySQL8Dialect

Chapter 10 Spring DataJPA/DataJPA 09-BLOBCLOBAPP/src/main/resources/application.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ spring.datasource.username = root
55
spring.datasource.password = root@123
66

77
#JPA -hibernate properties
8-
spring.jpa.hibernate.ddl-auto=update
9-
spring.jpa.show-sql = true
10-
spring.jpa.properties.hibernate.format_sql=true
11-
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
8+
spring.jpa.hibernate.ddl-auto = update
9+
spring.jpa.show-sql = true
10+
spring.jpa.properties.hibernate.format_sql = true
11+
spring.jpa.database-platform = org.hibernate.dialect.MySQL8Dialect

Chapter 10 Spring DataJPA/DataJPA 10-@QueryMethods_App/src/main/resources/application.properties

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ spring.datasource.username = root
55
spring.datasource.password = root@123
66

77
#JPA -hibernate properties
8-
spring.jpa.hibernate.ddl-auto=update
9-
spring.jpa.show-sql=true
10-
spring.jpa.properties.hibernate.format_sql=true
11-
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
12-
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
13-
14-
15-
8+
spring.jpa.hibernate.ddl-auto = update
9+
spring.jpa.show-sql = true
10+
spring.jpa.properties.hibernate.format_sql = true
11+
spring.jpa.database-platform = org.hibernate.dialect.MySQL8Dialect
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
spring.data.mongodb.database=fsDB
2-
spring.data.mongodb.port=27017
3-
spring.data.mongodb.host=localhost
1+
spring.data.mongodb.database = fsDB
2+
spring.data.mongodb.port = 27017
3+
spring.data.mongodb.host = localhost

0 commit comments

Comments
 (0)