Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 38085 invoked from network); 19 Jun 2007 21:51:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2007 21:51:47 -0000 Received: (qmail 68475 invoked by uid 500); 19 Jun 2007 21:51:51 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 68334 invoked by uid 500); 19 Jun 2007 21:51:51 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 68321 invoked by uid 99); 19 Jun 2007 21:51:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 14:51:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 14:51:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E169371404B for ; Tue, 19 Jun 2007 14:51:25 -0700 (PDT) Message-ID: <9932631.1182289885890.JavaMail.jira@brutus> Date: Tue, 19 Jun 2007 14:51:25 -0700 (PDT) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-259) Ability to parse EJB QL multiline queries in orm.xml In-Reply-To: <31882145.1181734465913.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506305 ] Patrick Linskey commented on OPENJPA-259: ----------------------------------------- Sure enough. I somehow never noticed that the escape characters didn't correspond to their ASCII equivalents. > Ability to parse EJB QL multiline queries in orm.xml > ---------------------------------------------------- > > Key: OPENJPA-259 > URL: https://issues.apache.org/jira/browse/OPENJPA-259 > Project: OpenJPA > Issue Type: Improvement > Components: kernel > Affects Versions: 0.9.7 > Environment: Windows XP > Reporter: Ognjen Blagojevic > Fix For: 1.0.0 > > Attachments: OPENJPA-259.patch > > > Multiline queries in orm.xml like this one > > > select o > from Test o > > > Fail to execute with exception: > Error message: org.apache.openjpa.kernel.jpql.TokenMgrError: Lexical error at line 1, column 10. Encountered: "\n" (10), after : "" > Please, add the possibility to the parser to handle multiline queries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.