openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <>
Subject Re: Error parsingEJB QL query (openjpa 0.9.7)
Date Wed, 13 Jun 2007 10:16:05 GMT

It seems like a reasonable enhancement. Do you want to open a jira  
issue for it?

If you are interested in making a patch with the enhancement, the  
parser is at openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/ 

On Jun 13, 2007, at 6:11 PM, Ognjen Blagojevic wrote:

> Hi Marc,
>> The specification doesn't appear to say whether or not a newline  
>> is allowed in queries or not. Our parser seems to disallow it, so  
>> I don't think it is currently possible to have a query with a  
>> newline in it.
> The query I gave as an example is really a simple one (select o  
> from Object o), but I think that it would be much easier for the  
> developer if he can structure complex queries in several lines.
> Is there a possibility to remove this restriction from the parser?
> Ognjen

View raw message