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 [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 5:12 AM To: [email protected] 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? Ognjen
