File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717
1818 steps :
1919 - uses : actions/checkout@v4
20- - name : Set up JDK 11
20+ - name : Set up JDK 17
2121 uses : actions/setup-java@v4
2222 with :
2323 distribution : zulu
24- java-version : ' 11 '
24+ java-version : ' 17 '
2525 - uses : actions/cache@v4
2626 with :
2727 path : |
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ dependencies {
3838 implementation ' org.springframework.boot:spring-boot-starter-validation'
3939 implementation ' org.springframework.boot:spring-boot-starter-hateoas'
4040 implementation ' org.springframework.boot:spring-boot-starter-security'
41- implementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter:4 .0.1 '
41+ implementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter:3 .0.4 '
4242 implementation ' com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:9.2.2'
4343 implementation ' org.flywaydb:flyway-core'
4444 implementation ' io.jsonwebtoken:jjwt-api:0.12.6'
@@ -56,7 +56,7 @@ dependencies {
5656 testImplementation ' io.rest-assured:spring-mock-mvc:5.5.0'
5757 testImplementation ' org.springframework.security:spring-security-test'
5858 testImplementation ' org.springframework.boot:spring-boot-starter-test'
59- testImplementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter-test:4 .0.1 '
59+ testImplementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3 .0.4 '
6060}
6161
6262tasks. named(' test' ) {
Original file line number Diff line number Diff line change 1+ spring.main.allow-bean-definition-overriding =true
12spring.datasource.url =jdbc:sqlite:dev.db
23spring.datasource.driver-class-name =org.sqlite.JDBC
34spring.datasource.username =
@@ -10,11 +11,10 @@ jwt.secret=nRvyYC4soFxBdZ-F-5Nnzz5USXstR1YylsTd-mA0aKtI9HUlriGrtkf-TiuDapkLiUCog
1011jwt.sessionTime =86400
1112
1213mybatis.configuration.cache-enabled =true
13- mybatis.configuration.default-statement-timeout =3000
1414mybatis.configuration.map-underscore-to-camel-case =true
1515mybatis.configuration.use-generated-keys =true
1616mybatis.type-handlers-package =io.spring.infrastructure.mybatis
17- mybatis.mapper-locations =mapper/*.xml
17+ mybatis.mapper-locations =classpath: mapper/*.xml
1818
1919logging.level.io.spring.infrastructure.mybatis.readservice.ArticleReadService =DEBUG
2020logging.level.io.spring.infrastructure.mybatis.mapper =DEBUG
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ jwt.secret=${JWT_SECRET:test-secret-key-for-testing-purposes-only-minimum-256-bi
1111jwt.sessionTime =86400
1212
1313mybatis.configuration.cache-enabled =true
14- mybatis.configuration.default-statement-timeout =3000
1514mybatis.configuration.map-underscore-to-camel-case =true
1615mybatis.configuration.use-generated-keys =true
1716mybatis.type-handlers-package =io.spring.infrastructure.mybatis
18- mybatis.mapper-locations =mapper/*.xml
17+ mybatis.mapper-locations =classpath: mapper/*.xml
You can’t perform that action at this time.
0 commit comments