openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpf <mrkspfeif...@gmail.com>
Subject openJPA 1.2 - LEFT OUTER JOIN problem with ALIAS
Date Thu, 30 Jun 2011 11:40:03 GMT
Hi!
I tried following:

SELECT p
FROM Person p LEFT JOIN FETCH p.fruehereNamenListe f
WHERE ( LOWER(p.nachname) LIKE :nachname OR LOWER(f.nachname) LIKE
:fNachname )


Exception:
javax.ejb.EJBException: See nested exception; nested exception is:
<openjpa-1.2.3-SNAPSHOT-r422266:965640 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: Encountered "f" at
character 61, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN",
"LEFT", "ORDER", "WHERE", <EOF>].

Does Alias dont work wir LEFT JOINS? Bug? Or did I something wrong?

regards

--
View this message in context: http://openjpa.208410.n2.nabble.com/openJPA-1-2-LEFT-OUTER-JOIN-problem-with-ALIAS-tp6532856p6532856.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message