File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -339,28 +339,28 @@ public class UserCtrl {
339
339
<p >
340
340
- now configure <i >application.yml</i > file
341
341
<br >
342
- server:
343
- port: 9090
344
- servlet:
345
- context-path: /demo
346
-
347
- spring:
348
- jpa:
349
- generate-ddl: true
350
- show-sql: true
351
- hibernate:
352
- show-sql: true
353
- ddl-auto: update
354
- naming.physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
355
- properties:
356
- hibernate:
357
- default_schema: app
358
- id.new_generator_mappings: true
359
- dialect: org.hibernate.dialect.MySQL5Dialect
360
- datasource:
361
- url: jdbc:mysql://localhost:3306/bd_spring_demo?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
362
- username: root
363
- password:
342
+ < br > server:
343
+ < br > port: 9090
344
+ < br > servlet:
345
+ < br > context-path: /demo
346
+ < br >
347
+ < br > spring:
348
+ < br > jpa:
349
+ < br > generate-ddl: true
350
+ < br > show-sql: true
351
+ < br > hibernate:
352
+ < br > show-sql: true
353
+ < br > ddl-auto: update
354
+ < br > naming.physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
355
+ < br > properties:
356
+ < br > hibernate:
357
+ < br > default_schema: app
358
+ < br > id.new_generator_mappings: true
359
+ < br > dialect: org.hibernate.dialect.MySQL5Dialect
360
+ < br > datasource:
361
+ < br > url: jdbc:mysql://localhost:3306/bd_spring_demo?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
362
+ < br > username: root
363
+ < br > password:
364
364
</p >
365
365
<p >
366
366
- In UserCtrl.java file
You can’t perform that action at this time.
0 commit comments