Skip to content

Tag: jpa

JPQL query for parameter in list

I have two JPA-entities: and I tried to write a JPQL query to extract requests that: If the parameter is false then extract all requests with empty hotelBookings and all requests where every booking have parameter jointCheckIn is set to false If a parameter is true then extract all requests that have one or m…