나는 두 개의 테이블에 가입하고 싶지만 오류가 있습니다. 나는이 syntaxe 사용 :jpa createquery에서 두 테이블을 조인하는 방법?
Query qrec2=em.createQuery("Select o from OfPlanifie o Operateur w where o.idOpe =: w.idOpe");
을하지만 난이 오류가있어 :
Caused by: Exception [EclipseLink-8025] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Syntax error parsing the query [Select o from OfPlanifie o Operateur w where o.idOpe =: w.idOpe], line 1, column 27: unexpected token [Operateur].
Internal Exception: NoViableAltException([email protected][()* loopback of 477:9: (node= join)*])
은 내가 어떻게 그 두 테이블을 조인 할 수 있습니다? 당신이 OfPlanifie
에서 모든 열을 선택하려면
['와 JPA 문제 태그를 중지하십시오 jsf]'. – BalusC