Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1ECE64A5 for ; Thu, 30 Jun 2011 11:40:38 +0000 (UTC) Received: (qmail 74205 invoked by uid 500); 30 Jun 2011 11:40:38 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 73935 invoked by uid 500); 30 Jun 2011 11:40:33 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 73893 invoked by uid 99); 30 Jun 2011 11:40:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2011 11:40:31 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of mrkspfeiffer@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2011 11:40:24 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QcFbH-0002C0-Ne for users@openjpa.apache.org; Thu, 30 Jun 2011 04:40:03 -0700 Date: Thu, 30 Jun 2011 04:40:03 -0700 (PDT) From: mpf To: users@openjpa.apache.org Message-ID: <1309434003708-6532856.post@n2.nabble.com> Subject: openJPA 1.2 - LEFT OUTER JOIN problem with ALIAS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: org.apache.openjpa.persistence.ArgumentException: Encountered "f" at character 61, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", ]. 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.