mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-05 09:07:26 +08:00
Update to Spring Boot 2.5
This commit is contained in:
@@ -153,4 +153,9 @@ public class OffsetPageRequest implements Pageable, Serializable {
|
||||
return this.offset == other.offset && this.limit == other.limit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Pageable withPage(int pageNumber) {
|
||||
return new OffsetPageRequest(pageNumber, getPageSize(), getSort());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ spring.datasource.url=jdbc:sqlite:data/db.sqlite
|
||||
spring.datasource.hikari.maximum-pool-size=1
|
||||
#auto schema update will case sqlite error
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLiteDialect
|
||||
spring.jpa.properties.hibernate.dialect=org.sqlite.hibernate.dialect.SQLiteDialect
|
||||
########## For Mysql ##########
|
||||
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
#spring.datasource.username=
|
||||
|
||||
Reference in New Issue
Block a user