Relative Content

Tag Archive for hibernatejpajoinquerydsl

QueryDSL join(a, b) vs join(b).on(): Why does @SQLRestriction behave differently?

Intro: I’m using QueryDSL with Hibernate in a Spring Boot project. I’ve noticed a difference in the way @SQLRestriction is applied when using join(a, b) versus join(b).on(). Specifically, when using join(a, b), the @SQLRestriction on both entities a and b is applied, but when using join(b).on(), only the @SQLRestriction on entity a is applied. Example […]