Skip to content

SpecificationComposition reversed predicates #2146

Closed
@rideliner

Description

@rideliner

It appears that lhs and rhs were reversed in 25924d8.

https://github.com/spring-projects/spring-data-jpa/blob/master/src/main/java/org/springframework/data/jpa/domain/SpecificationComposition.java#L54

This causes spec1.and(spec2) to result in spec2 and spec1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions