openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad L Vandermoon" <>
Subject RE: Error parsingEJB QL query (openjpa 0.9.7)
Date Wed, 13 Jun 2007 11:12:54 GMT
I've run into this issue as well.  This "formatting" ability suggested
by Ognjen would sure make the queries much easier to read and understand
by others.

-----Original Message-----
From: Ognjen Blagojevic [] 
Sent: Wednesday, June 13, 2007 5:12 AM
Subject: Re: Error parsingEJB QL query (openjpa 0.9.7)

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?


View raw message