Category "criteria-api"

JPA CriteriaBuilder ManyToOne and null values

I'm trying to create a Specification for filtering a table. This table has 2 @ManyToOne relationships (that can be null) and I'd like to apply the filter inside

JPA CRITERIA QUERY with order by joined columns

How to invoke order by on a joined entity? I am trying to achieve the following with: select * from person p inner join telephone t on p.id=t.person_id join si