openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <mprud...@apache.org>
Subject Re: Latest manual is not the latest: [Was: Small typo in the manual]
Date Tue, 31 Jul 2007 16:18:04 GMT

"Latest documentation" in this context means "documentation for the  
most recent release", which means that it is for OpenJPA 0.9.7  
released on 27 April 2007.



On Jul 31, 2007, at 9:13 AM, David Ezzio wrote:

> Hi,
>
> Patrick corrected the typo that Bruce notes below on June 6th
> (openjpa-project/src/doc/manual/jpa_overview_query.xml), but it is  
> still
> showing up under the "latest documentation" on-line.  What are we  
> not doing?
>
> Thanks,
>
> David
>
> -------- Original Message --------
> Subject: Re: Small typo in the manual
> Date: Tue, 31 Jul 2007 12:09:22 -0400
> From: David Ezzio <dezzio@bea.com>
> To: users@openjpa.apache.org
> References: <200707311343.03143.bruce.beaumont@ucs-solutions.co.za>
>
> Hi Bruce,
>
> We corrected this typo in the source over a month ago.  I'll see if I
> can run down why it hasn't shown up on-line.
>
> Thanks,
>
> David
>
> Bruce Beaumont wrote:
>> Hi
>>
>> I am posting this here as I am not shure where to post this too:
>>
>> In the manual on Example 10.1Delete By Query (on-line html version)
>> Query q = em.createQuery("DELETE s FROM Subscription s WHERE
>> s.subscriptionDate < :today");
>>
>> Should read
>>
>> Query q = em.createQuery("DELETE FROM Subscription s WHERE  
>> s.subscriptionDate
>> < :today");
>>
>> as the following is thrown
>> An error occurred while parsing the query filter 'delete s from  
>> simple s where
>> s.date < :deldate'. Error message: <1.0.0-SNAPSHOT-SNAPSHOT  
>> nonfatal user
>> error> org.apache.openjpa.kernel.jpql.ParseException: Encountered  
>> "s" at
>> character 8, but expected: ["FROM"]
>>
>>
>>
>>
>> Bruce
>>
>
>
>
> Notice:  This email message, together with any attachments, may  
> contain information  of  BEA Systems,  Inc.,  its subsidiaries   
> and  affiliated entities,  that may be confidential,  proprietary,   
> copyrighted  and/or legally privileged, and is intended solely for  
> the use of the individual or entity named in this message. If you  
> are not the intended recipient, and have received this message in  
> error, please immediately return this by email and then delete it.


Mime
View raw message