Код: Выделить всё
spring:
application:
name: MyCrudProject
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://localhost:1460;databaseName=bon_dsv;sendStringParametersAsUnicode=false
username: sa
password: Passw0rd
jpa:
show-sql: true
properties:
hibernate:
format_sql: true
defer-datasource-initialization: true
Код: Выделить всё
spring.application.name=MyCrudProject
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.url=jdbc:sqlserver://localhost:1460;databaseName=bon_dsv;sendStringParametersAsUnicode=false
spring.datasource.username=sa
spring.datasource.password=Passw0rd
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.defer-datasource-initialization=true
Это мои журналы:
Код: Выделить всё
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.645 s
Подробнее здесь: [url]https://stackoverflow.com/questions/79092563/flyway-breaking-application-after-change-application-properties[/url]