Got it, thank you for the warning!
I turned logging up to TRACE - here’s some additional data (not sure if this is what you mean by the JPQL), with some content edited for reading / secrecy:
TRACE o.h.s.r.j.i.DeferredResultSetAccess - Executing query to retrieve ResultSet : select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?
DEBUG o.h.SQL - select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?
Hibernate: select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?
TRACE o.h.r.j.i.ResourceRegistryStandardImpl - Registering statement [HikariProxyPreparedStatement@1834932991 wrapping ClientPreparedStatement{sql:'select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?', parameters:[]}]
TRACE o.h.e.j.i.JdbcCoordinatorImpl - Registering last query statement [HikariProxyPreparedStatement@1834932991 wrapping ClientPreparedStatement{sql:'select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?', parameters:[]}]
TRACE o.h.o.j.bind - binding parameter (1:VARCHAR) <- [%somename%]
TRACE o.h.o.j.bind - binding parameter (2:BINARY) <- [389dd8b4-e40a-42be-8152-769a916ca069]
TRACE o.h.o.j.bind - binding parameter (3:VARCHAR) <- [SomeClient]
TRACE o.h.o.j.bind - binding parameter (4:BINARY) <- [4867d14a-0061-4836-b331-1ceabc77bd7e]
TRACE o.h.o.j.bind - binding parameter (5:BIGINT) <- [20]
TRACE o.h.o.j.bind - binding parameter (6:VARCHAR) <- [SomeApp]
TRACE o.h.o.j.bind - binding parameter (7:BIGINT) <- [37]
DEBUG o.m.j.c.i.StandardClient - execute query: select ed1_0.id,ed1_0.application_id,ed1_0.created_by,ed1_0.created_date,ed1_0.custom_data,ed1_0.custom_schema_id,ed1_0.last_modified_by,ed1_0.last_modified_date,ed1_0.name,ed1_0.uuid,ed1_0.version from extended_data ed1_0 join applications a1_0 on a1_0.id=ed1_0.application_id join clients c1_0 on c1_0.id=a1_0.client_id where lower(ed1_0.name) like ? escape '\' and a1_0.uuid=? and c1_0.client_name=? and c1_0.uuid=? and c1_0.id=? and a1_0.application_name=? and a1_0.id=?