一个基于规范的 JPA 查询框架。
受 [Legacy Hibernate Criteria Queries] 启发,虽然这应该被视为过时的 API,而非 JPA API, 但它仍然具有高效性且易于理解。基于 Spring Data JPA 并简化动态查询过程。
| 英文版 | 中文版 |
|---|---|
| [最新] | [最新] |
| [3.2.5] | [3.2.5_cn] |
| [3.2.1] | [3.2.1_cn] |
| [3.1.0] | [3.1.0_cn] |
| [3.0.0] | [3.0.0_cn] |
repositories {
jcenter()
}
dependencies {
implementation 'com.github.wenhao:jpa-spec:3.2.5'
}
com.github.wenhao
jpa-spec
3.2.5
./gradlew clean build每个 Repository 类都应该从两个超类 JpaRepository 和 JpaSpecificationExecutor 继承。
暂无开放 Issues,或尚未同步最近议题。