I saw a good feautre in EAP for view query as different colour i found some error lines when i use space in between select query and when i try to use alias name as key i found some pleasse verify and solve.
Sample 1: select count(name) from User t where t.email =:email and t.login.id IN :loginId
i got error in name and t.login.id
Sample 2:select new com.project.dto.search(t.id as id,tt.name as name) from User t join t.login tt where t.id =:id
Here i got in selected item t.id as id