What steps will reproduce the problem ?
Steps to reproduce the behavior:
- Build an entity graph with at least 2 children nodes from a same attribute.
- Try calling a EntityGraphJpaSpecificationExecutor#findBy(Specification, EntityGraph, Function)
with it.
What is the expected output ?
It should return the queried result.
What happens instead ?
You end up with a org.springframework.data.core.PropertyReferenceException because it cannot find properties you asked for.
Environment
- Spring Data JPA version: 4.0.1
- ORM version: Hibernate 7.3.1.Final
- spring-data-jpa-entity-graph version: 4.0.3
Additional context
Introduced by 4585c97
What steps will reproduce the problem ?
Steps to reproduce the behavior:
with it.
What is the expected output ?
It should return the queried result.
What happens instead ?
You end up with a org.springframework.data.core.PropertyReferenceException because it cannot find properties you asked for.
Environment
Additional context
Introduced by 4585c97