openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ognjen Blagojevic (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-259) Ability to parse EJB QL multiline queries in orm.xml
Date Wed, 13 Jun 2007 11:34:25 GMT
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


Multiline queries in orm.xml like this one

<named-query name="Test.findAll">
   <query>
       select o
         from Test o
   </query>
</named-query> 

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.


Mime
View raw message