Bonjour,
J'ai la requête HQL suivante :
Cette requête me retourne l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 select distinct cand from Candidate cand left join fetch cand.contactByPersonalContactId as PC left join fetch cand.rhscreensForCandidateId as rhScreen left join fetch cand.spokenlanguages as spokenlanguages left join cand.personnelSkillnames as S0 where S0.name = 'J2EE' and cand.firstName like 'kmiha%' and cand.status = 'Salarié' and (cand.isDeleted =false) and (PC.isDeleted = false or PC = null) order by cand.lastName ASC;
Merci de m'aider à résoudre cette erreur.1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch cand.contactByPersonalContactId as PC left join fetch cand.rhscreensForCa' at line 1
mysql>
Je suis prêt à répondre à vos questions.
Amicalement
jockhip12
Partager