You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
ddea8eda8f
1.10.x
1.11.x
1.12.x
1.13.x
1.2.x
1.3.x
1.4.x
1.5.x
1.6.x
1.7.x
1.8.x
1.9.x
2.0.x
2.1.x
2.2.x
2.3.x
2.4.x
2.5.x
2.6.x
2.7.x
3.0.x
3.1.x
3.2.x
3.3.x
3.4.x
3.5.x
4.0.x
DATACMNS-293
issue/3.5.x/3284
issue/3336
issue/3353
issue/3400
issue/4.0.x/3431
issue/DATACMNS-1266
issue/DATACMNS-1268
issue/DATACMNS-1269
issue/less-optional
issues/split
issues/transient
labs/build-time-domain-type-information
labs/stable-value
main
1.0.0.M1
1.0.0.M2
1.0.0.M3
1.0.0.M4
1.0.0.M5
1.0.0.M6
1.0.0.M7
1.0.0.RC1
1.0.0.RELEASE
1.1.0.M1
1.1.0.M2
1.1.0.RC1
1.1.0.RELEASE
1.10.0.M1
1.10.0.RC1
1.10.0.RELEASE
1.10.1.RELEASE
1.10.2.RELEASE
1.11.0.M1
1.11.0.RC1
1.11.0.RELEASE
1.11.1.RELEASE
1.11.2.RELEASE
1.11.4.RELEASE
1.11.5.RELEASE
1.11.6.RELEASE
1.12.0.M1
1.12.0.RC1
1.12.0.RELEASE
1.12.1.RELEASE
1.12.10.RELEASE
1.12.11.RELEASE
1.12.2.RELEASE
1.12.3.RELEASE
1.12.4.RELEASE
1.12.5.RELEASE
1.12.6.RELEASE
1.12.7.RELEASE
1.12.8.RELEASE
1.12.9.RELEASE
1.13.0.M1
1.13.0.RC1
1.13.0.RELEASE
1.13.1.RELEASE
1.13.10.RELEASE
1.13.11.RELEASE
1.13.12.RELEASE
1.13.13.RELEASE
1.13.14.RELEASE
1.13.15.RELEASE
1.13.16.RELEASE
1.13.17.RELEASE
1.13.18.RELEASE
1.13.19.RELEASE
1.13.2.RELEASE
1.13.20.RELEASE
1.13.21.RELEASE
1.13.22.RELEASE
1.13.23.RELEASE
1.13.3.RELEASE
1.13.4.RELEASE
1.13.5.RELEASE
1.13.6.RELEASE
1.13.7.RELEASE
1.13.8.RELEASE
1.13.9.RELEASE
1.2.0.M1
1.2.0.M2
1.2.0.RC1
1.2.0.RELEASE
1.2.1.RELEASE
1.3.0.M1
1.3.0.RC1
1.3.0.RC2
1.3.0.RELEASE
1.3.1.RELEASE
1.3.2.RELEASE
1.4.0.M1
1.4.0.RC1
1.4.0.RELEASE
1.4.1.RELEASE
1.5.0.RELEASE
1.5.1.RELEASE
1.5.2.RELEASE
1.5.3.RELEASE
1.6.0.M1
1.6.0.RC1
1.6.0.RELEASE
1.6.1.RELEASE
1.6.2.RELEASE
1.6.3.RELEASE
1.6.4.RELEASE
1.6.5.RELEASE
1.7.0.M1
1.7.0.RC1
1.7.0.RELEASE
1.7.1.RELEASE
1.7.2.RELEASE
1.7.3.RELEASE
1.8.0.M1
1.8.0.RC1
1.8.0.RELEASE
1.8.1.RELEASE
1.8.2.RELEASE
1.8.4.RELEASE
1.8.5.RELEASE
1.8.6.RELEASE
1.9.0.M1
1.9.0.RC1
1.9.0.RELEASE
1.9.1.RELEASE
1.9.2.RELEASE
1.9.3.RELEASE
1.9.4.RELEASE
2.0.0.M1
2.0.0.M2
2.0.0.M3
2.0.0.M4
2.0.0.RC1
2.0.0.RC2
2.0.0.RC3
2.0.0.RELEASE
2.0.1.RELEASE
2.0.10.RELEASE
2.0.11.RELEASE
2.0.12.RELEASE
2.0.13.RELEASE
2.0.14.RELEASE
2.0.2.RELEASE
2.0.3.RELEASE
2.0.4.RELEASE
2.0.5.RELEASE
2.0.6.RELEASE
2.0.7.RELEASE
2.0.8.RELEASE
2.0.9.RELEASE
2.1.0.M1
2.1.0.M2
2.1.0.M3
2.1.0.RC1
2.1.0.RC2
2.1.0.RELEASE
2.1.1.RELEASE
2.1.10.RELEASE
2.1.11.RELEASE
2.1.12.RELEASE
2.1.13.RELEASE
2.1.14.RELEASE
2.1.15.RELEASE
2.1.16.RELEASE
2.1.17.RELEASE
2.1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.17
2.7.18
2.7.2
2.7.3
2.7.4
2.7.5
2.7.6
2.7.7
2.7.8
2.7.9
3.0.0
3.0.0-M1
3.0.0-M2
3.0.0-M3
3.0.0-M4
3.0.0-M5
3.0.0-M6
3.0.0-RC1
3.0.0-RC2
3.0.1
3.0.10
3.0.11
3.0.12
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.1.0
3.1.0-M1
3.1.0-M2
3.1.0-M3
3.1.0-RC1
3.1.1
3.1.10
3.1.11
3.1.12
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.2.0
3.2.0-M1
3.2.0-M2
3.2.0-M3
3.2.0-RC1
3.2.1
3.2.10
3.2.11
3.2.12
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.3.0
3.3.0-M1
3.3.0-M2
3.3.0-RC1
3.3.1
3.3.10
3.3.11
3.3.12
3.3.13
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.4.0
3.4.0-M1
3.4.0-RC1
3.4.1
3.4.10
3.4.11
3.4.12
3.4.13
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.5.0
3.5.0-M1
3.5.0-M2
3.5.0-RC1
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
4.0.0
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-M4
4.0.0-M5
4.0.0-M6
4.0.0-RC1
4.0.0-RC2
4.0.1
${ noResults }
Supposed you have a base repository interface declaring a method:
interface BaseRepository<T, ID extends Serializable> extends Repository<T, ID> {
T myGenericMethod();
}
as well as a concrete repository redeclaring this method to annotate a query on it:
interface ConcreteRepository extends BaseRepository<User, Long> {
@Query("…")
User myGenericMethod()
}
Until now we both returned the intermediate method as well as the concrete one which might cause failures as in this case a query derivation would be attempted for the intermediate method which will fail for obvious reasons. The fix now starts with looking up the most specific method when iterating over the repository's methods which causes the intermediate method to be skipped in case it was overridden.
|
14 years ago | |
|---|---|---|
| spring-data-commons-core | DATACMNS-157 - Query method lookup now only returns most specific method for overridden methods. | 14 years ago |
| spring-data-commons-parent | DATACMNS-148 - Next development version. | 14 years ago |
| src | DATACMNS-148 - Prepare 1.3.0.RC1 release. | 14 years ago |
| .gitignore | Added Sonargraph architecture description. | 15 years ago |
| Spring Data Commons.sonargraph | Updated Sonargraph architecture description. | 14 years ago |
| pom.xml | DATACMNS-148 - Next development version. | 14 years ago |